예제 #1
0
 def test_whenVisitingFuorHousesInaGridThenReturn4(self):
     self.assertEqual(3,get_houses_visited("^>v<"))
예제 #2
0
 def test_whenGivenLTThenReturnTwo(self):
     self.assertEqual(2,get_houses_visited(">"))
예제 #3
0
 def test_whenGivenUpDownThenReturnThree(self):
     self.assertEqual(3,get_houses_visited("^v"))
예제 #4
0
 def test_whengivenupdownetcthenreturn2(self):
     self.assertEqual(11,get_houses_visited("^v^v^v^v^v"))