24 lines
233 B
GDScript
24 lines
233 B
GDScript
func test():
|
|
var x := 5
|
|
|
|
assert(x > 0)
|
|
assert(x > 0,)
|
|
assert(x > 0, 'message')
|
|
assert(x > 0, 'message',)
|
|
|
|
assert(
|
|
x > 0
|
|
)
|
|
assert(
|
|
x > 0,
|
|
)
|
|
assert(
|
|
x > 0,
|
|
'message'
|
|
)
|
|
assert(
|
|
x > 0,
|
|
'message',
|
|
)
|
|
|
|
print('OK')
|