mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-12 15:04:46 +00:00
✅ Refactoring and added unit testing framework
This commit is contained in:
parent
06346b2d98
commit
080ce479da
145 changed files with 16250 additions and 470 deletions
7
tests/test_basics.gd
Normal file
7
tests/test_basics.gd
Normal 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")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue