refactor gold rewards and tower cost; fix wave test leak
This commit is contained in:
+2
-1
@@ -133,8 +133,9 @@ test_update_phase_from_build_phase :: proc(t: ^testing.T) {
|
||||
}
|
||||
|
||||
@(test)
|
||||
test_udpate_phase_from_combat_phase :: proc(t: ^testing.T) {
|
||||
test_update_phase_from_combat_phase :: proc(t: ^testing.T) {
|
||||
world := World{}
|
||||
defer delete(world.events)
|
||||
world.phase = .Combat
|
||||
|
||||
update_phase(&world)
|
||||
|
||||
Reference in New Issue
Block a user