- Fixed a bug where Unit::getType would not immediately switch to Egg/Lurker Egg/Cocoon after issuing a morph command to a unit
- Fixed a bug where Unit::getBuildType would return UnitTypes::None for Terran buildings that were constructing add-ons
- Fixed a bug where Unit::getBuildType would sometimes return UnitTypes::None for morphing Zerg units
- Fixed a bug where Unit::getBuildUnit would return NULL for incomplete Terran add-ons that are being constructed.
- Fixed a bug where Unit::getRemainingBuildTime would sometimes return incorrect values for morphing Zerg units
- Fixed a bug where Unit::getRemainingTrainTime would incorrectly return 0 on some frames due to latency.
- Fixed a bug where Unit::isBeingConstructed would return false for morphing Zerg units
- Fixed a bug where Unit::isConstructing would return false for Terran buildings that are constructing add-ons
- Fixed a bug where Unit::isConstructing would return false for incomplete Terran add-ons that are being constructed.
- Fixed a bug where Unit::isConstructing would return false morphing Zerg units
- Fixed a bug where Unit::isIdle would sometimes return true when the unit is constructing
- Fixed a bug where Unit::isIdle would return true morphing Zerg units
- Fixed a bug where Unit::isTraining would not return true for Reavers or Carriers.
While writing these test cases was a pain, I'm starting to see how useful and important a proper test framework is for finding and fixing bugs :). My next goal will be to create test cases that research each upgrade and special ability. After that I will create test cases for using each special ability.
No comments:
Post a Comment