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:
Hugo Locurcio 2021-04-19 20:50:52 +02:00
parent a9b600bac0
commit c0083c0f90
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
190 changed files with 1788 additions and 17 deletions

View file

@ -0,0 +1,14 @@
func test():
print("dot" in "Godot")
print(not "i" in "team")
print(true in [true, false])
print(not null in [true, false])
print(null in [null])
print(26 in [8, 26, 64, 100])
print(not Vector2i(10, 20) in [Vector2i(20, 10)])
print("apple" in { "apple": "fruit" })
print("apple" in { "apple": null })
print(not "apple" in { "fruit": "apple" })