Update AA synchronization, CW progression and diagnostics
This commit is contained in:
1 parent
67a819a4d3
commit
30bee81fe9
30 files changed
+1143
-55
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package gameserver
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestPeakSceneCatalogMatchesClientGroups(t *testing.T) {
|
||||
chdirRepositoryRoot(t)
|
||||
data := getChallengeData()
|
||||
if len(data.Peak) == 0 {
|
||||
t.Fatal("no AA stages loaded")
|
||||
}
|
||||
for id, stage := range data.Peak {
|
||||
if stage.GroupID == 0 || stage.Entrance == 0 || stage.Group == 0 || stage.MonsterID == 0 {
|
||||
t.Errorf("stage %s has incomplete placement", id)
|
||||
}
|
||||
if stage.SceneResourceError != "" {
|
||||
t.Errorf("stage %s rejected: %s", id, stage.SceneResourceError)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user