File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
exercises/practice/square-root/test Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,28 +24,28 @@ data Case = Case { description :: String
24
24
}
25
25
26
26
cases :: [Case ]
27
- cases = [ Case { description = " year not divisible by 4 in common year "
27
+ cases = [ Case { description = " square root of 1 "
28
28
, input = 1
29
29
, expected = 1
30
30
}
31
- , Case { description = " year divisible by 2, not divisible by 4 in common year "
31
+ , Case { description = " square root of 4 "
32
32
, input = 4
33
33
, expected = 2
34
34
}
35
- , Case { description = " year divisible by 4, not divisible by 100 in leap year "
35
+ , Case { description = " square root of 25 "
36
36
, input = 25
37
37
, expected = 5
38
38
}
39
- , Case { description = " year divisible by 4 and 5 is still a leap year "
39
+ , Case { description = " square root of 81 "
40
40
, input = 81
41
41
, expected = 9
42
42
}
43
- , Case { description = " year divisible by 100, not divisible by 400 in common year "
43
+ , Case { description = " square root of 196 "
44
44
, input = 196
45
45
, expected = 14
46
46
}
47
- , Case { description = " year divisible by 100 but not by 3 is still not a leap year "
47
+ , Case { description = " square root of 65025 "
48
48
, input = 65025
49
49
, expected = 255
50
50
}
51
- ]
51
+ ]
You can’t perform that action at this time.
0 commit comments