def testBase5Base8(self): self.assertEqual(hw.baseToBase(5, 8, '1234324'), '57423', "Failed to convert 57423 (base 5) to base 8")
def testBase9Base4(self): self.assertEqual(hw.baseToBase(9, 4, '1234324'), '2210022103', "Failed to convert 2210022103 (base 9) to base 4")
def testBase2Base10(self): self.assertEqual( hw.baseToBase(2, 10, '10111010101011'), '11947', "Failed to convert 10111010101011 (base 2) to base 10")
def testBase5Base8(self): self.assertEqual(hw.baseToBase(5,8,'1234324'), '57423', "Failed to convert 57423 (base 5) to base 8")
def testBase9Base4(self): self.assertEqual(hw.baseToBase(9,4,'1234324'), '2210022103', "Failed to convert 2210022103 (base 9) to base 4")
def testBase2Base10(self): self.assertEqual(hw.baseToBase(2,10,'10111010101011'), '11947', "Failed to convert 10111010101011 (base 2) to base 10")