Build playable Aeternalis foundation and GitOps deployment pipeline

This commit is contained in:
dingo
2026-09-05 12:52:51 -04:00
parent 93703b20bc
commit ff87b8a544
66 changed files with 6567 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package content
import "testing"
func TestBalanceValidation(t *testing.T) {
b, err := Load()
if err != nil {
t.Fatal(err)
}
b.PlayerSpeed = -1
if b.Validate() == nil {
t.Fatal("negative speed accepted")
}
if _, err = Parse([]byte("unexpected: 1")); err == nil {
t.Fatal("unknown content key accepted")
}
}