Add type for general fixed-point numbers
This commit is contained in:
1 parent
3c84c2a429
commit
e434497dc7
3 files changed
+28
-14
No files matched your search
@@ -82,6 +82,12 @@ class LegacyPacketNamesTest(unittest.TestCase):
|
||||
serverbound.play.get_packets)
|
||||
|
||||
|
||||
class LegacyTypesTest(unittest.TestCase):
|
||||
def test_legacy_types(self):
|
||||
self.assertIsInstance(types.FixedPointInteger, types.FixedPoint)
|
||||
self.assertEqual(types.FixedPointInteger.denominator, 32)
|
||||
|
||||
|
||||
class ClassMemberAliasesTest(unittest.TestCase):
|
||||
def test_alias_values(self):
|
||||
self.assertEqual(serverbound.play.AnimationPacket.HAND_MAIN,
|
||||
|
||||
Reference in new issue
Block a user