Files
settled-reach/client/addons/gdUnit4/test/matchers/GdUnitArgumentMatchersTest.gd
T
jpmschweitzerandClaude Opus 4.6 61e0762a84 chore(client): add gdUnit4 test framework addon
Vendor gdUnit4 for Godot 4 client testing (D-030).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 16:52:00 +01:00

17 lines
624 B
GDScript

# GdUnit generated TestSuite
class_name GdUnitArgumentMatchersTest
extends GdUnitTestSuite
# TestSuite generated from
const __source = 'res://addons/gdUnit4/src/matchers/GdUnitArgumentMatchers.gd'
func test_arguments_to_chained_matcher() -> void:
var matcher := GdUnitArgumentMatchers.to_matcher(["foo", false, 1])
assert_object(matcher).is_instanceof(ChainedArgumentMatcher)
assert_bool(matcher.is_match(["foo", false, 1])).is_true()
assert_bool(matcher.is_match(["foo", false, 2])).is_false()
assert_bool(matcher.is_match(["foo", true, 1])).is_false()
assert_bool(matcher.is_match(["bar", false, 1])).is_false()