summaryrefslogtreecommitdiff
path: root/test-nsc/files/run/Course-2002-03.check
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2005-10-19 14:00:47 +0000
committerIulian Dragos <jaguarul@gmail.com>2005-10-19 14:00:47 +0000
commite74f7af55c28267ecfbeda52fa563795e52776cc (patch)
tree6a08703ae1a0ca9cfc53db42a27512961d12affc /test-nsc/files/run/Course-2002-03.check
parentf4d80be80fb66314ff1e8f5fc1c8e7a4a20beb13 (diff)
downloadscala-e74f7af55c28267ecfbeda52fa563795e52776cc.tar.gz
scala-e74f7af55c28267ecfbeda52fa563795e52776cc.tar.bz2
scala-e74f7af55c28267ecfbeda52fa563795e52776cc.zip
Added check files for jvm runnable tests.
Diffstat (limited to 'test-nsc/files/run/Course-2002-03.check')
-rw-r--r--test-nsc/files/run/Course-2002-03.check67
1 files changed, 67 insertions, 0 deletions
diff --git a/test-nsc/files/run/Course-2002-03.check b/test-nsc/files/run/Course-2002-03.check
new file mode 100644
index 0000000000..01b9977d39
--- /dev/null
+++ b/test-nsc/files/run/Course-2002-03.check
@@ -0,0 +1,67 @@
+1
+2
+1/2
+5/6
+
+1/3
+5/7
+3/2
+66/42
+
+1/3
+5/7
+3/2
+11/7
+
+11/7
+7/11
+11/7
+11/7
+
+13/36
+
+false
+true
+true
+false
+
+set0 = []
+set1 = [1]
+set2 = [1,2]
+set3 = [1,2,3]
+set4 = [1,2,3,4]
+
+set2 contains the following elements:
+1
+2
+
+set3 contains the following elements:
+1
+2
+3
+
+set4 contains the following elements:
+1
+2
+3
+4
+
+2 <- set2: true
+3 <- set2: false
+
+setx = [-10,-1,0,3,5,21]
+setx * 2 = [-20,-2,0,6,10,42]
+
+setx = [-10,-1,0,3,5,21]
+sety = [-9,-5,-1,0,3,7,8]
+setx & sety = [-1,0,3]
+sety & setx = [-1,0,3]
+setx > 0 = [3,5,21]
+sety > 0 = [3,7,8]
+setx & sety = [-1,0,3]
+sety & setx = [-1,0,3]
+
+1/1
+1/1
+1/1
+