Skip to content

Commit d7cd802

Browse files
author
George Dorn
committed
Added tests of more edge cases
1 parent 8138341 commit d7cd802

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

python 3/koans/about_scoring_project.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ def test_score_of_other_triples_is_100x(self):
6565
def test_score_of_mixed_is_sum(self):
6666
self.assertEqual(250, score([2,5,2,2,3]))
6767
self.assertEqual(550, score([5,5,5,5]))
68+
self.assertEqual(1150, score([1,1,1,5,1]))
69+
70+
def test_ones_not_left_out(self):
71+
self.assertEqual(300, score([1,2,2,2]))
72+
self.assertEqual(350, score([1,5,2,2,2]))

0 commit comments

Comments
 (0)