open-fpsz/tests/test_basics.gd

7 lines
240 B
GDScript

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