Refactoring and added unit testing framework

This commit is contained in:
anyreso 2024-04-12 22:23:39 +00:00
parent 06346b2d98
commit 080ce479da
145 changed files with 16250 additions and 470 deletions

7
tests/test_basics.gd Normal file
View file

@ -0,0 +1,7 @@
extends GutTest
func _test_projectile_class():
var projectile = Projectile.new()
assert(projectile != null, "Projectile class should be instantiated")
assert(projectile.speed == 78.4, "Projectile damage should be initialized to 78.4")