mirror of
https://github.com/litruv/PNGTuber-Plus.git
synced 2026-07-24 10:36:01 +10:00
wobble sync groups !build
This commit is contained in:
30
test_wobble_sync.gd
Normal file
30
test_wobble_sync.gd
Normal file
@@ -0,0 +1,30 @@
|
||||
extends Node
|
||||
|
||||
## Test script for wobble sync groups - run this to verify the system is working
|
||||
|
||||
func _ready():
|
||||
# Wait a frame for everything to initialize
|
||||
await get_tree().process_frame
|
||||
|
||||
print("=== Wobble Sync Groups Test ===")
|
||||
|
||||
# Test creating a group
|
||||
var success = WobbleSyncManager.createGroup("TestGroup")
|
||||
print("Create group 'TestGroup': ", success)
|
||||
|
||||
# Test getting group names
|
||||
var groups = WobbleSyncManager.getGroupNames()
|
||||
print("Available groups: ", groups)
|
||||
|
||||
# Test group existence
|
||||
print("Group 'TestGroup' exists: ", WobbleSyncManager.hasGroup("TestGroup"))
|
||||
print("Group 'NonExistent' exists: ", WobbleSyncManager.hasGroup("NonExistent"))
|
||||
|
||||
# Clean up test group
|
||||
WobbleSyncManager.deleteGroup("TestGroup")
|
||||
print("Deleted test group")
|
||||
|
||||
groups = WobbleSyncManager.getGroupNames()
|
||||
print("Groups after deletion: ", groups)
|
||||
|
||||
print("=== Test Complete ===")
|
||||
Reference in New Issue
Block a user