gdlint fixes
This commit is contained in:
@@ -4,7 +4,7 @@ extends SceneTree
|
||||
##
|
||||
## Tests grid initialization, match detection, and scoring system.
|
||||
|
||||
const TestHelper = preload("res://tests/helpers/TestHelper.gd")
|
||||
const TestHelperClass = preload("res://tests/helpers/TestHelper.gd")
|
||||
|
||||
var match3_scene: PackedScene
|
||||
var match3_instance: Node2D
|
||||
@@ -23,7 +23,7 @@ func _initialize():
|
||||
|
||||
|
||||
func run_tests():
|
||||
TestHelper.print_test_header("Match3 Gameplay")
|
||||
TestHelperClass.print_test_header("Match3 Gameplay")
|
||||
|
||||
# Setup test environment
|
||||
setup_test_environment()
|
||||
@@ -43,15 +43,15 @@ func run_tests():
|
||||
# Cleanup
|
||||
cleanup_tests()
|
||||
|
||||
TestHelper.print_test_footer("Match3 Gameplay")
|
||||
TestHelperClass.print_test_footer("Match3 Gameplay")
|
||||
|
||||
|
||||
func setup_test_environment():
|
||||
TestHelper.print_step("Test Environment Setup")
|
||||
TestHelperClass.print_step("Test Environment Setup")
|
||||
|
||||
# Load Match3 scene
|
||||
match3_scene = load("res://scenes/game/gameplays/match3_gameplay.tscn")
|
||||
TestHelper.assert_not_null(match3_scene, "Match3 scene loads successfully")
|
||||
TestHelperClass.assert_not_null(match3_scene, "Match3 scene loads successfully")
|
||||
|
||||
# Create test viewport for isolated testing
|
||||
test_viewport = SubViewport.new()
|
||||
@@ -62,7 +62,7 @@ func setup_test_environment():
|
||||
if match3_scene:
|
||||
match3_instance = match3_scene.instantiate()
|
||||
test_viewport.add_child(match3_instance)
|
||||
TestHelper.assert_not_null(match3_instance, "Match3 instance created successfully")
|
||||
TestHelperClass.assert_not_null(match3_instance, "Match3 instance created successfully")
|
||||
|
||||
# Wait for initialization
|
||||
await process_frame
|
||||
@@ -70,10 +70,10 @@ func setup_test_environment():
|
||||
|
||||
|
||||
func test_basic_functionality():
|
||||
TestHelper.print_step("Basic Functionality")
|
||||
TestHelperClass.print_step("Basic Functionality")
|
||||
|
||||
if not match3_instance:
|
||||
TestHelper.assert_true(false, "Match3 instance not available for testing")
|
||||
TestHelperClass.assert_true(false, "Match3 instance not available for testing")
|
||||
return
|
||||
|
||||
# Test that Match3 has expected properties
|
||||
@@ -81,61 +81,61 @@ func test_basic_functionality():
|
||||
"GRID_SIZE", "TILE_TYPES", "grid", "current_state", "selected_tile", "cursor_position"
|
||||
]
|
||||
for prop in expected_properties:
|
||||
TestHelper.assert_true(prop in match3_instance, "Match3 has property: " + prop)
|
||||
TestHelperClass.assert_true(prop in match3_instance, "Match3 has property: " + prop)
|
||||
|
||||
# Test that Match3 has expected methods
|
||||
var expected_methods = [
|
||||
"_has_match_at", "_check_for_matches", "_get_match_line", "_clear_matches"
|
||||
]
|
||||
TestHelper.assert_has_methods(match3_instance, expected_methods, "Match3 gameplay methods")
|
||||
TestHelperClass.assert_has_methods(match3_instance, expected_methods, "Match3 gameplay methods")
|
||||
|
||||
# Test signals
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_signal("score_changed"), "Match3 has score_changed signal"
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_signal("grid_state_loaded"), "Match3 has grid_state_loaded signal"
|
||||
)
|
||||
|
||||
|
||||
func test_constants_and_safety_limits():
|
||||
TestHelper.print_step("Constants and Safety Limits")
|
||||
TestHelperClass.print_step("Constants and Safety Limits")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
|
||||
# Test safety constants exist
|
||||
TestHelper.assert_true("MAX_GRID_SIZE" in match3_instance, "MAX_GRID_SIZE constant exists")
|
||||
TestHelper.assert_true("MAX_TILE_TYPES" in match3_instance, "MAX_TILE_TYPES constant exists")
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true("MAX_GRID_SIZE" in match3_instance, "MAX_GRID_SIZE constant exists")
|
||||
TestHelperClass.assert_true("MAX_TILE_TYPES" in match3_instance, "MAX_TILE_TYPES constant exists")
|
||||
TestHelperClass.assert_true(
|
||||
"MAX_CASCADE_ITERATIONS" in match3_instance, "MAX_CASCADE_ITERATIONS constant exists"
|
||||
)
|
||||
TestHelper.assert_true("MIN_GRID_SIZE" in match3_instance, "MIN_GRID_SIZE constant exists")
|
||||
TestHelper.assert_true("MIN_TILE_TYPES" in match3_instance, "MIN_TILE_TYPES constant exists")
|
||||
TestHelperClass.assert_true("MIN_GRID_SIZE" in match3_instance, "MIN_GRID_SIZE constant exists")
|
||||
TestHelperClass.assert_true("MIN_TILE_TYPES" in match3_instance, "MIN_TILE_TYPES constant exists")
|
||||
|
||||
# Test safety limit values are reasonable
|
||||
TestHelper.assert_equal(15, match3_instance.MAX_GRID_SIZE, "MAX_GRID_SIZE is reasonable")
|
||||
TestHelper.assert_equal(10, match3_instance.MAX_TILE_TYPES, "MAX_TILE_TYPES is reasonable")
|
||||
TestHelper.assert_equal(
|
||||
TestHelperClass.assert_equal(15, match3_instance.MAX_GRID_SIZE, "MAX_GRID_SIZE is reasonable")
|
||||
TestHelperClass.assert_equal(10, match3_instance.MAX_TILE_TYPES, "MAX_TILE_TYPES is reasonable")
|
||||
TestHelperClass.assert_equal(
|
||||
20, match3_instance.MAX_CASCADE_ITERATIONS, "MAX_CASCADE_ITERATIONS prevents infinite loops"
|
||||
)
|
||||
TestHelper.assert_equal(3, match3_instance.MIN_GRID_SIZE, "MIN_GRID_SIZE is reasonable")
|
||||
TestHelper.assert_equal(3, match3_instance.MIN_TILE_TYPES, "MIN_TILE_TYPES is reasonable")
|
||||
TestHelperClass.assert_equal(3, match3_instance.MIN_GRID_SIZE, "MIN_GRID_SIZE is reasonable")
|
||||
TestHelperClass.assert_equal(3, match3_instance.MIN_TILE_TYPES, "MIN_TILE_TYPES is reasonable")
|
||||
|
||||
# Test current values are within safety limits
|
||||
TestHelper.assert_in_range(
|
||||
TestHelperClass.assert_in_range(
|
||||
match3_instance.GRID_SIZE.x,
|
||||
match3_instance.MIN_GRID_SIZE,
|
||||
match3_instance.MAX_GRID_SIZE,
|
||||
"Grid width within safety limits"
|
||||
)
|
||||
TestHelper.assert_in_range(
|
||||
TestHelperClass.assert_in_range(
|
||||
match3_instance.GRID_SIZE.y,
|
||||
match3_instance.MIN_GRID_SIZE,
|
||||
match3_instance.MAX_GRID_SIZE,
|
||||
"Grid height within safety limits"
|
||||
)
|
||||
TestHelper.assert_in_range(
|
||||
TestHelperClass.assert_in_range(
|
||||
match3_instance.TILE_TYPES,
|
||||
match3_instance.MIN_TILE_TYPES,
|
||||
match3_instance.MAX_TILE_TYPES,
|
||||
@@ -143,37 +143,37 @@ func test_constants_and_safety_limits():
|
||||
)
|
||||
|
||||
# Test timing constants
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
"CASCADE_WAIT_TIME" in match3_instance, "CASCADE_WAIT_TIME constant exists"
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
"SWAP_ANIMATION_TIME" in match3_instance, "SWAP_ANIMATION_TIME constant exists"
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
"TILE_DROP_WAIT_TIME" in match3_instance, "TILE_DROP_WAIT_TIME constant exists"
|
||||
)
|
||||
|
||||
|
||||
func test_grid_initialization():
|
||||
TestHelper.print_step("Grid Initialization")
|
||||
TestHelperClass.print_step("Grid Initialization")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
|
||||
# Test grid structure
|
||||
TestHelper.assert_not_null(match3_instance.grid, "Grid array is initialized")
|
||||
TestHelper.assert_true(match3_instance.grid is Array, "Grid is Array type")
|
||||
TestHelperClass.assert_not_null(match3_instance.grid, "Grid array is initialized")
|
||||
TestHelperClass.assert_true(match3_instance.grid is Array, "Grid is Array type")
|
||||
|
||||
# Test grid dimensions
|
||||
var expected_height = match3_instance.GRID_SIZE.y
|
||||
var expected_width = match3_instance.GRID_SIZE.x
|
||||
|
||||
TestHelper.assert_equal(expected_height, match3_instance.grid.size(), "Grid has correct height")
|
||||
TestHelperClass.assert_equal(expected_height, match3_instance.grid.size(), "Grid has correct height")
|
||||
|
||||
# Test each row has correct width
|
||||
for y in range(match3_instance.grid.size()):
|
||||
if y < expected_height:
|
||||
TestHelper.assert_equal(
|
||||
TestHelperClass.assert_equal(
|
||||
expected_width, match3_instance.grid[y].size(), "Grid row %d has correct width" % y
|
||||
)
|
||||
|
||||
@@ -188,89 +188,89 @@ func test_grid_initialization():
|
||||
|
||||
if tile and is_instance_valid(tile):
|
||||
valid_tile_count += 1
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
"tile_type" in tile, "Tile at (%d,%d) has tile_type property" % [x, y]
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
"grid_position" in tile, "Tile at (%d,%d) has grid_position property" % [x, y]
|
||||
)
|
||||
|
||||
# Test tile type is within valid range
|
||||
if "tile_type" in tile:
|
||||
TestHelper.assert_in_range(
|
||||
TestHelperClass.assert_in_range(
|
||||
tile.tile_type,
|
||||
0,
|
||||
match3_instance.TILE_TYPES - 1,
|
||||
"Tile type in valid range"
|
||||
)
|
||||
|
||||
TestHelper.assert_equal(tile_count, valid_tile_count, "All grid positions have valid tiles")
|
||||
TestHelperClass.assert_equal(tile_count, valid_tile_count, "All grid positions have valid tiles")
|
||||
|
||||
|
||||
func test_grid_layout_calculation():
|
||||
TestHelper.print_step("Grid Layout Calculation")
|
||||
TestHelperClass.print_step("Grid Layout Calculation")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
|
||||
# Test tile size calculation
|
||||
TestHelper.assert_true(match3_instance.tile_size > 0, "Tile size is positive")
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(match3_instance.tile_size > 0, "Tile size is positive")
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.tile_size <= 200, "Tile size is reasonable (not too large)"
|
||||
)
|
||||
|
||||
# Test grid offset
|
||||
TestHelper.assert_not_null(match3_instance.grid_offset, "Grid offset is set")
|
||||
TestHelper.assert_true(match3_instance.grid_offset.x >= 0, "Grid offset X is non-negative")
|
||||
TestHelper.assert_true(match3_instance.grid_offset.y >= 0, "Grid offset Y is non-negative")
|
||||
TestHelperClass.assert_not_null(match3_instance.grid_offset, "Grid offset is set")
|
||||
TestHelperClass.assert_true(match3_instance.grid_offset.x >= 0, "Grid offset X is non-negative")
|
||||
TestHelperClass.assert_true(match3_instance.grid_offset.y >= 0, "Grid offset Y is non-negative")
|
||||
|
||||
# Test layout constants
|
||||
TestHelper.assert_equal(0.8, match3_instance.SCREEN_WIDTH_USAGE, "Screen width usage constant")
|
||||
TestHelper.assert_equal(
|
||||
TestHelperClass.assert_equal(0.8, match3_instance.SCREEN_WIDTH_USAGE, "Screen width usage constant")
|
||||
TestHelperClass.assert_equal(
|
||||
0.7, match3_instance.SCREEN_HEIGHT_USAGE, "Screen height usage constant"
|
||||
)
|
||||
TestHelper.assert_equal(50.0, match3_instance.GRID_LEFT_MARGIN, "Grid left margin constant")
|
||||
TestHelper.assert_equal(50.0, match3_instance.GRID_TOP_MARGIN, "Grid top margin constant")
|
||||
TestHelperClass.assert_equal(50.0, match3_instance.GRID_LEFT_MARGIN, "Grid left margin constant")
|
||||
TestHelperClass.assert_equal(50.0, match3_instance.GRID_TOP_MARGIN, "Grid top margin constant")
|
||||
|
||||
|
||||
func test_state_management():
|
||||
TestHelper.print_step("State Management")
|
||||
TestHelperClass.print_step("State Management")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
|
||||
# Test GameState enum exists and has expected values
|
||||
var game_state_class = match3_instance.get_script().get_global_class()
|
||||
TestHelper.assert_true("GameState" in match3_instance, "GameState enum accessible")
|
||||
var _game_state_class = match3_instance.get_script().get_global_class()
|
||||
TestHelperClass.assert_true("GameState" in match3_instance, "GameState enum accessible")
|
||||
|
||||
# Test current state is valid
|
||||
TestHelper.assert_not_null(match3_instance.current_state, "Current state is set")
|
||||
TestHelperClass.assert_not_null(match3_instance.current_state, "Current state is set")
|
||||
|
||||
# Test initialization flags
|
||||
TestHelper.assert_true("grid_initialized" in match3_instance, "Grid initialized flag exists")
|
||||
TestHelper.assert_true(match3_instance.grid_initialized, "Grid is marked as initialized")
|
||||
TestHelperClass.assert_true("grid_initialized" in match3_instance, "Grid initialized flag exists")
|
||||
TestHelperClass.assert_true(match3_instance.grid_initialized, "Grid is marked as initialized")
|
||||
|
||||
# Test instance ID for debugging
|
||||
TestHelper.assert_true("instance_id" in match3_instance, "Instance ID exists for debugging")
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true("instance_id" in match3_instance, "Instance ID exists for debugging")
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.instance_id.begins_with("Match3_"), "Instance ID has correct format"
|
||||
)
|
||||
|
||||
|
||||
func test_match_detection():
|
||||
TestHelper.print_step("Match Detection Logic")
|
||||
TestHelperClass.print_step("Match Detection Logic")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
|
||||
# Test match detection methods exist and can be called safely
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_method("_has_match_at"), "_has_match_at method exists"
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_method("_check_for_matches"), "_check_for_matches method exists"
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_method("_get_match_line"), "_get_match_line method exists"
|
||||
)
|
||||
|
||||
@@ -285,20 +285,20 @@ func test_match_detection():
|
||||
|
||||
for pos in invalid_positions:
|
||||
var result = match3_instance._has_match_at(pos)
|
||||
TestHelper.assert_false(result, "Invalid position (%d,%d) returns false" % [pos.x, pos.y])
|
||||
TestHelperClass.assert_false(result, "Invalid position (%d,%d) returns false" % [pos.x, pos.y])
|
||||
|
||||
# Test valid positions don't crash
|
||||
for y in range(min(3, match3_instance.GRID_SIZE.y)):
|
||||
for x in range(min(3, match3_instance.GRID_SIZE.x)):
|
||||
var pos = Vector2i(x, y)
|
||||
var result = match3_instance._has_match_at(pos)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
result is bool, "Valid position (%d,%d) returns boolean" % [x, y]
|
||||
)
|
||||
|
||||
|
||||
func test_scoring_system():
|
||||
TestHelper.print_step("Scoring System")
|
||||
TestHelperClass.print_step("Scoring System")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
@@ -307,12 +307,12 @@ func test_scoring_system():
|
||||
# The scoring system uses: 3 gems = 3 points, 4+ gems = n + (n-2) points
|
||||
|
||||
# Test that the match3 instance can handle scoring (indirectly through clearing matches)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_method("_clear_matches"), "Scoring system method exists"
|
||||
)
|
||||
|
||||
# Test that score_changed signal exists
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_signal("score_changed"), "Score changed signal exists"
|
||||
)
|
||||
|
||||
@@ -327,47 +327,47 @@ func test_scoring_system():
|
||||
else:
|
||||
calculated_score = match_size + max(0, match_size - 2)
|
||||
|
||||
TestHelper.assert_equal(
|
||||
TestHelperClass.assert_equal(
|
||||
expected_score, calculated_score, "Scoring formula correct for %d gems" % match_size
|
||||
)
|
||||
|
||||
|
||||
func test_input_validation():
|
||||
TestHelper.print_step("Input Validation")
|
||||
TestHelperClass.print_step("Input Validation")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
|
||||
# Test cursor position bounds
|
||||
TestHelper.assert_not_null(match3_instance.cursor_position, "Cursor position is initialized")
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_not_null(match3_instance.cursor_position, "Cursor position is initialized")
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.cursor_position is Vector2i, "Cursor position is Vector2i type"
|
||||
)
|
||||
|
||||
# Test keyboard navigation flag
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
"keyboard_navigation_enabled" in match3_instance, "Keyboard navigation flag exists"
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.keyboard_navigation_enabled is bool, "Keyboard navigation flag is boolean"
|
||||
)
|
||||
|
||||
# Test selected tile safety
|
||||
# selected_tile can be null initially, which is valid
|
||||
if match3_instance.selected_tile:
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
is_instance_valid(match3_instance.selected_tile), "Selected tile is valid if not null"
|
||||
)
|
||||
|
||||
|
||||
func test_memory_safety():
|
||||
TestHelper.print_step("Memory Safety")
|
||||
TestHelperClass.print_step("Memory Safety")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
|
||||
# Test grid integrity validation
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_method("_validate_grid_integrity"),
|
||||
"Grid integrity validation method exists"
|
||||
)
|
||||
@@ -377,63 +377,63 @@ func test_memory_safety():
|
||||
for x in range(min(3, match3_instance.grid[y].size())):
|
||||
var tile = match3_instance.grid[y][x]
|
||||
if tile:
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
is_instance_valid(tile), "Grid tile at (%d,%d) is valid instance" % [x, y]
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
tile.get_parent() == match3_instance, "Tile properly parented to Match3"
|
||||
)
|
||||
|
||||
# Test position validation
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.has_method("_is_valid_grid_position"), "Position validation method exists"
|
||||
)
|
||||
|
||||
# Test safe tile access patterns exist
|
||||
# The Match3 code uses comprehensive bounds checking and null validation
|
||||
TestHelper.assert_true(true, "Memory safety patterns implemented in Match3 code")
|
||||
TestHelperClass.assert_true(true, "Memory safety patterns implemented in Match3 code")
|
||||
|
||||
|
||||
func test_performance_requirements():
|
||||
TestHelper.print_step("Performance Requirements")
|
||||
TestHelperClass.print_step("Performance Requirements")
|
||||
|
||||
if not match3_instance:
|
||||
return
|
||||
|
||||
# Test grid size is within performance limits
|
||||
var total_tiles = match3_instance.GRID_SIZE.x * match3_instance.GRID_SIZE.y
|
||||
TestHelper.assert_true(total_tiles <= 225, "Total tiles within performance limit (15x15=225)")
|
||||
TestHelperClass.assert_true(total_tiles <= 225, "Total tiles within performance limit (15x15=225)")
|
||||
|
||||
# Test cascade iteration limit prevents infinite loops
|
||||
TestHelper.assert_equal(
|
||||
TestHelperClass.assert_equal(
|
||||
20,
|
||||
match3_instance.MAX_CASCADE_ITERATIONS,
|
||||
"Cascade iteration limit prevents infinite loops"
|
||||
)
|
||||
|
||||
# Test timing constants are reasonable for 60fps gameplay
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.CASCADE_WAIT_TIME >= 0.05, "Cascade wait time allows for smooth animation"
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.SWAP_ANIMATION_TIME <= 0.5, "Swap animation time is responsive"
|
||||
)
|
||||
TestHelper.assert_true(
|
||||
TestHelperClass.assert_true(
|
||||
match3_instance.TILE_DROP_WAIT_TIME <= 0.3, "Tile drop wait time is responsive"
|
||||
)
|
||||
|
||||
# Test grid initialization performance
|
||||
TestHelper.start_performance_test("grid_access")
|
||||
TestHelperClass.start_performance_test("grid_access")
|
||||
for y in range(min(5, match3_instance.grid.size())):
|
||||
for x in range(min(5, match3_instance.grid[y].size())):
|
||||
var tile = match3_instance.grid[y][x]
|
||||
if tile and "tile_type" in tile:
|
||||
var tile_type = tile.tile_type
|
||||
TestHelper.end_performance_test("grid_access", 10.0, "Grid access performance within limits")
|
||||
var _tile_type = tile.tile_type
|
||||
TestHelperClass.end_performance_test("grid_access", 10.0, "Grid access performance within limits")
|
||||
|
||||
|
||||
func cleanup_tests():
|
||||
TestHelper.print_step("Cleanup")
|
||||
TestHelperClass.print_step("Cleanup")
|
||||
|
||||
# Clean up Match3 instance
|
||||
if match3_instance and is_instance_valid(match3_instance):
|
||||
@@ -446,4 +446,4 @@ func cleanup_tests():
|
||||
# Wait for cleanup
|
||||
await process_frame
|
||||
|
||||
TestHelper.assert_true(true, "Test cleanup completed")
|
||||
TestHelperClass.assert_true(true, "Test cleanup completed")
|
||||
|
||||
Reference in New Issue
Block a user