Esempio n. 1
0
 def test_stingy_1(self):
     self.assertEqual(1, stingy(1))
Esempio n. 2
0
 def test_stingy_2(self):
     self.assertEqual(2, stingy(2))
Esempio n. 3
0
 def test_stingy_232(self):
     self.assertEqual(11, stingy(232))
Esempio n. 4
0
 def test_stingy_143(self):
     self.assertEqual(10, stingy(143))
Esempio n. 5
0
 def test_stingy_20(self):
     self.assertEqual(6, stingy(20))
Esempio n. 6
0
 def test_stingy_231(self):
     self.assertEqual(10, stingy(231))
Esempio n. 7
0
 def test_stingy_19(self):
     self.assertEqual(5, stingy(19))
Esempio n. 8
0
 def test_stingy_12(self):
     self.assertEqual(5, stingy(12))
Esempio n. 9
0
 def test_stingy_10(self):
     self.assertEqual(4, stingy(10))
Esempio n. 10
0
 def test_stingy_4(self):
     self.assertEqual(3, stingy(4))
Esempio n. 11
0
 def test_stingy_3(self):
     self.assertEqual(2, stingy(3))