def test_decode1(self): self.assertEqual(binsage.decode('0110000101111010'), "az")
def test_decode0(self): self.assertEqual(binsage.decode('01100001'), 'a') self.assertEqual(binsage.decode('01111010'), 'z')