You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
400 B
20 lines
400 B
extends Reference
|
|
|
|
const TYPES = preload("constants/type_library.gd")
|
|
var success: bool
|
|
var expected: String = "NULL"
|
|
var result: String
|
|
var notes: String = "No Notes"
|
|
var context
|
|
|
|
func type2str(value):
|
|
return TYPES.get_type_string(typeof(value))
|
|
|
|
func to_dictionary() -> Dictionary:
|
|
return {
|
|
"success": success,
|
|
"expected": expected,
|
|
"actual": result,
|
|
"context": context
|
|
}
|