File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
exercises/practice/roman-numerals/test Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 23
23
(deftest nine
24
24
(is (= " IX" (roman-numerals/numerals 9 ))))
25
25
26
+ (deftest sixteen
27
+ (is (= " XVI" (roman-numerals/numerals 16 ))))
28
+
26
29
(deftest twenty-seven
27
30
(is (= " XXVII" (roman-numerals/numerals 27 ))))
28
31
32
35
(deftest fifty-nine
33
36
(is (= " LIX" (roman-numerals/numerals 59 ))))
34
37
38
+ (deftest sixty-six
39
+ (is (="LXVI" (roman-numerals/numerals 66 ))))
40
+
35
41
(deftest ninety-three
36
42
(is (= " XCIII" (roman-numerals/numerals 93 ))))
37
43
41
47
(deftest one-hundred-sixty-three
42
48
(is (= " CLXIII" (roman-numerals/numerals 163 ))))
43
49
50
+ (deftest one-hundred-sixty-six
51
+ (is (= " CLXVI" (roman-numerals/numerals 166 ))))
52
+
44
53
(deftest four-hundred-two
45
54
(is (= " CDII" (roman-numerals/numerals 402 ))))
46
55
47
56
(deftest five-hundred-seventy-five
48
57
(is (= " DLXXV" (roman-numerals/numerals 575 ))))
49
58
59
+ (deftest six-hundred-sixty-six
60
+ (is (= " DCLXVI" (roman-numerals/numerals 666 ))))
61
+
50
62
(deftest nine-hundred-eleven
51
63
(is (= " CMXI" (roman-numerals/numerals 911 ))))
52
64
55
67
56
68
(deftest three-thousand
57
69
(is (= " MMM" (roman-numerals/numerals 3000 ))))
70
+
71
+ (deftest three-thousand
72
+ (is (= " MMMI" (roman-numerals/numerals 3001 ))))
73
+
74
+ (deftest three-thousand
75
+ (is (= " MMMDCCCLXXXVIII" (roman-numerals/numerals 3888 ))))
76
+
77
+ (deftest three-thousand
78
+ (is (= " MMMCMXCIX" (roman-numerals/numerals 3999 ))))
You can’t perform that action at this time.
0 commit comments