@@ -86,26 +86,26 @@ defmodule Numbers do
86
86
end
87
87
88
88
koan "I don't want this decimal point, let's round up" do
89
- assert Float . ceil ( 34.25 ) == ___
89
+ assert Float . ceil ( 34.25 ) === ___
90
90
end
91
91
92
92
koan "OK, I only want it to 1 decimal place" do
93
- assert Float . ceil ( 34.25 , 1 ) == ___
93
+ assert Float . ceil ( 34.25 , 1 ) === ___
94
94
end
95
95
96
96
koan "Rounding down is what I need" do
97
- assert Float . floor ( 99.99 ) == ___
97
+ assert Float . floor ( 99.99 ) === ___
98
98
end
99
99
100
100
koan "Rounding down to 2 decimal places" do
101
- assert Float . floor ( 12.345 , 2 ) == ___
101
+ assert Float . floor ( 12.345 , 2 ) === ___
102
102
end
103
103
104
104
koan "Round the number up or down for me" do
105
- assert Float . round ( 5.5 ) == ___
106
- assert Float . round ( 5.4 ) == ___
107
- assert Float . round ( 8.94 , 1 ) == ___
108
- assert Float . round ( - 5.5674 , 3 ) == ___
105
+ assert Float . round ( 5.5 ) === ___
106
+ assert Float . round ( 5.4 ) === ___
107
+ assert Float . round ( 8.94 , 1 ) === ___
108
+ assert Float . round ( - 5.5674 , 3 ) === ___
109
109
end
110
110
111
111
koan "I want the first and last in the range" do
0 commit comments