def testCorrectMonotypeTwoArgs(self): self.assertTrue( checkTypes({ 'i': 1, 'n': 10. }, i=(int, float), n=(int, float)))
def testCorrectMonotypeTwoArgs(self): self.assertTrue(checkTypes({'i': 1, 'n': 10}, i=int, n=int))
def testCorrectMultitypeOneArg(self): self.assertTrue(checkTypes({'i': 1.}, i=(int, float)))
def testCorrectMonotypeOneArg(self): self.assertTrue(checkTypes({'i': 1}, i=int))
def testCorrectMonotypeTwoArgs(self): self.assertTrue(checkTypes({'i': 1, 'n': 10.}, i=(int, float), n=(int, float)))