Asserts that both the types and values are the same.
(self, expected, actual)
| 293 | class FractionTest(unittest.TestCase): |
| 294 | |
| 295 | def assertTypedEquals(self, expected, actual): |
| 296 | """Asserts that both the types and values are the same.""" |
| 297 | self.assertEqual(type(expected), type(actual)) |
| 298 | self.assertEqual(expected, actual) |
| 299 | |
| 300 | def assertTypedTupleEquals(self, expected, actual): |
| 301 | """Asserts that both the types and values in the tuples are the same.""" |
no test coverage detected