setting up GDUnit
Some checks failed
Create tag and build when new code gets to main / Export (push) Failing after 3m40s
Some checks failed
Create tag and build when new code gets to main / Export (push) Failing after 3m40s
This commit is contained in:
13
addons/gdUnit4/src/asserts/DefaultValueProvider.gd
Normal file
13
addons/gdUnit4/src/asserts/DefaultValueProvider.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
# default value provider, simple returns the initial value
|
||||
class_name DefaultValueProvider
|
||||
extends ValueProvider
|
||||
|
||||
var _value: Variant
|
||||
|
||||
|
||||
func _init(value: Variant) -> void:
|
||||
_value = value
|
||||
|
||||
|
||||
func get_value() -> Variant:
|
||||
return _value
|
||||
Reference in New Issue
Block a user