tests: add sav/hailstone.res and sav/hamming_number.res
authorJean Privat <jean@pryen.org>
Wed, 10 Dec 2014 01:56:40 +0000 (20:56 -0500)
committerJean Privat <jean@pryen.org>
Wed, 10 Dec 2014 01:57:24 +0000 (20:57 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/niti.skip
tests/sav/hailstone.res [new file with mode: 0644]
tests/sav/hamming_number.res [new file with mode: 0644]

index bf8ea1b..c2c24ff 100644 (file)
@@ -19,3 +19,5 @@ emscripten
 nitserial_args
 nitunit_args
 nitpretty_args
+hamming_number
+hailstone
diff --git a/tests/sav/hailstone.res b/tests/sav/hailstone.res
new file mode 100644 (file)
index 0000000..0fb3d98
--- /dev/null
@@ -0,0 +1,2 @@
+Sequence for 27 has 112 begin with: 27, 82, 41, 124 and end with: 8, 4, 2, 1
+The number with longest sequence is 77031 with length of 351
diff --git a/tests/sav/hamming_number.res b/tests/sav/hamming_number.res
new file mode 100644 (file)
index 0000000..72c05b7
--- /dev/null
@@ -0,0 +1,21 @@
+1: 1
+2: 2
+3: 3
+4: 4
+5: 5
+6: 6
+7: 8
+8: 9
+9: 10
+10: 12
+11: 15
+12: 16
+13: 18
+14: 20
+15: 24
+16: 25
+17: 27
+18: 30
+19: 32
+20: 36
+1691: 2125764000