Adding log.gd
This commit is contained in:
parent
eb32d6614e
commit
4522259397
547 changed files with 46844 additions and 0 deletions
27
addons/gdUnit4/test/fuzzers/TestFuzzers.gd
Normal file
27
addons/gdUnit4/test/fuzzers/TestFuzzers.gd
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
extends RefCounted
|
||||
|
||||
const MIN_VALUE := -10
|
||||
const MAX_VALUE := 22
|
||||
|
||||
class NestedFuzzer extends Fuzzer:
|
||||
|
||||
func _init():
|
||||
pass
|
||||
|
||||
func next_value() -> Variant:
|
||||
return {}
|
||||
|
||||
static func _s_max_value() -> int:
|
||||
return MAX_VALUE
|
||||
|
||||
|
||||
func min_value() -> int:
|
||||
return MIN_VALUE
|
||||
|
||||
|
||||
func get_fuzzer() -> Fuzzer:
|
||||
return Fuzzers.rangei(min_value(), NestedFuzzer._s_max_value())
|
||||
|
||||
|
||||
func non_fuzzer() -> Resource:
|
||||
return Image.new()
|
||||
Loading…
Add table
Add a link
Reference in a new issue