Add 'engine/' from commit 'a8e37fc010'
git-subtree-dir: engine git-subtree-mainline:b74841629egit-subtree-split:a8e37fc010
This commit is contained in:
commit
c3f9669b10
14113 changed files with 7458101 additions and 0 deletions
14
engine/modules/gdscript/tests/scripts/parser/features/in.gd
Normal file
14
engine/modules/gdscript/tests/scripts/parser/features/in.gd
Normal 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" })
|
||||
Loading…
Add table
Add a link
Reference in a new issue