Add dozens of new integration tests to the GDScript test suite
This also ignores `.out` files in the file format static checks.
This commit is contained in:
parent
a9b600bac0
commit
c0083c0f90
190 changed files with 1788 additions and 17 deletions
11
modules/gdscript/tests/scripts/parser/features/constants.gd
Normal file
11
modules/gdscript/tests/scripts/parser/features/constants.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
func test():
|
||||
const _TEST = 12 + 34 - 56 * 78
|
||||
const _STRING = "yes"
|
||||
const _VECTOR = Vector2(5, 6)
|
||||
const _ARRAY = []
|
||||
const _DICTIONARY = {"this": "dictionary"}
|
||||
|
||||
# Create user constants from built-in constants.
|
||||
const _HELLO = PI + TAU
|
||||
const _INFINITY = INF
|
||||
const _NOT_A_NUMBER = NAN
|
||||
Loading…
Add table
Add a link
Reference in a new issue