Skip to content

Commit b3dc928

Browse files
RAJKUMAR BUDDHARAJKUMAR BUDDHA
authored andcommitted
x:rep/small - Add test for remaining-time function
1 parent c5a5403 commit b3dc928

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

exercises/concept/lucians-luscious-lasagna/test/lucians_luscious_lasagna_test.clj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
(deftest ^{:task 1} expected-time-test
66
(is (= 40 lucians-luscious-lasagna/expected-time)))
77

8-
(deftest ^{:task 2} remaining-time-test
8+
(deftest ^{:task 2} remaining-time-test-for30m-actualtime
9+
(is (= 10 (lucians-luscious-lasagna/remaining-time 30))))
10+
11+
(deftest ^{:task 2} remaining-time-test-for25m-actualtime
912
(is (= 15 (lucians-luscious-lasagna/remaining-time 25))))
1013

1114
(deftest ^{:task 3} prep-time-one-layer-test

0 commit comments

Comments
 (0)