Example #1
0
 def test_Extra(self):
     for i in self.TESTS['Extra']:
         assert safe_pawns(i['input']) == i['answer'], i['input']
Example #2
0
 def test_Extra(self):
     for i in self.TESTS['Extra']:
         assert safe_pawns(i['input']) == i['answer'], i['input']
Example #3
0
 def test_Basics(self):
     for i in self.TESTS['Basics']:
         assert safe_pawns(i['input']) == i['answer'], i['input']
Example #4
0
 def test_Basics(self):
     for i in self.TESTS['Basics']:
         assert safe_pawns(i['input']) == i['answer'], i['input']