Example #1
0
 def test_trivial1(self):
     self.assertEqual(change(0, frozenset({1, 2, 3})), 1)
Example #2
0
 def test_trivial0(self):
     self.assertEqual(change(0, frozenset()), 1)
Example #3
0
 def test_trivial7(self):
     self.assertEqual(change(3, frozenset({1, 2})), 2)
Example #4
0
 def test_trivial5(self):
     self.assertEqual(change(2, frozenset({1})), 1)
Example #5
0
 def test_trivial3(self):
     self.assertEqual(change(4, frozenset({1, 2})), 3)
Example #6
0
 def test_trivial2(self):
     self.assertEqual(change(2, frozenset({6, 9})), 0)