open-fpsz/tests/test_basics.gd

8 lines
241 B
GDScript3
Raw Permalink Normal View History

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")