예제 #1
0
 def test_invert2(self):
     self.assertEqual(21, byte_tools.invert(42))
예제 #2
0
 def test_invert3(self):
     self.assertEqual(213, byte_tools.invert(42, 8))
예제 #3
0
 def test_invert1(self):
     self.assertEqual(0, byte_tools.invert(1))