def test_mirrored(self): """Tests the mirrored method.""" self.assertNotIsInstance(unicode_data.mirrored(0x0000), bool) self.assertEqual(unicode_data.mirrored(0x0028), 1) self.assertEqual(unicode_data.mirrored(0x2140), 1) self.assertEqual(unicode_data.mirrored(0x0029), 1) self.assertEqual(unicode_data.mirrored(0x1D7C3), 1) self.assertEqual(unicode_data.mirrored(0x0020), 0) self.assertEqual(unicode_data.mirrored(0x27CB), 1) self.assertEqual(unicode_data.mirrored(0x27CD), 1)