Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

Fix tests involving reading and writing varints. Closes #143 #144

Closed CoolCat467 closed 3 years ago

CoolCat467 commented 3 years ago

Fix test_readBigVarInt, closes #143 Add test_readBigNegativeVarInt and test_writeBigNegativeVarInt so improper handling of negative numbers are handled properly in the future

kevinkjt2000 commented 3 years ago

I cleaned up the tests a bit and added cases for negative numbers in f51879f and 992dde6