Teleport Unit Testing - UQdeco2800/2021-studio-2 GitHub Wiki

File Location

Target file path: src\main\com\deco2800\game\entities\factories\ObstacleFactory.java (Teleport function) src\main\com\deco2800\game\components\TeleportComponent.java

Test file path: src\test\com\deco2800\game\components\TeleportComponentTest

Aim

Testing teleport working properly Testing the after user teleport, still keep the right health