Skip to content

Commit 947f8e6

Browse files
committed
Correct inaccurate days in some years
1 parent 7f6e9a8 commit 947f8e6

File tree

1 file changed

+5
-5
lines changed
  • katas/3-christmas_day/source

1 file changed

+5
-5
lines changed

katas/3-christmas_day/source/test.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ def test_returns_the_correct_weekday_for_1752
2929

3030
def test_returns_the_correct_weekday_for_1751
3131
skip 'Not implemented'
32-
assert_equal 'Friday', ChristmasDay.new(1751).weekday
32+
assert_equal 'Wednesday', ChristmasDay.new(1751).weekday
3333
end
3434

3535
def test_returns_the_correct_weekday_for_1660
3636
skip 'Not implemented'
37-
assert_equal 'Wednesday', ChristmasDay.new(1660).weekday
37+
assert_equal 'Tuesday', ChristmasDay.new(1660).weekday
3838
end
3939

4040
def test_returns_the_correct_weekday_for_1659
@@ -49,17 +49,17 @@ def test_returns_the_correct_weekday_for_1644
4949

5050
def test_returns_the_correct_weekday_for_1643
5151
skip 'Not implemented'
52-
assert_equal 'Wednesday', ChristmasDay.new(1643).weekday
52+
assert_equal 'Monday', ChristmasDay.new(1643).weekday
5353
end
5454

5555
def test_returns_the_correct_weekday_for_1066
5656
skip 'Not implemented'
57-
assert_equal 'Wednesday', ChristmasDay.new(1066).weekday
57+
assert_equal 'Monday', ChristmasDay.new(1066).weekday
5858
end
5959

6060
def test_returns_the_correct_weekday_for_597
6161
skip 'Not implemented'
62-
assert_equal 'Friday', ChristmasDay.new(597).weekday
62+
assert_equal 'Wednesday', ChristmasDay.new(597).weekday
6363
end
6464

6565
def test_returns_the_correct_weekday_for_596

0 commit comments

Comments
 (0)