xrfragment/test/test.py

15 lines
442 B
Python
Raw Normal View History

2023-03-09 19:58:08 +01:00
from Query import hgltf_Query
q = hgltf_Query()
print( q.parse("foo or bar") )
print( q.parse("foo or bar") )
print( q.parse("class:fopoer or bar foo:bar") )
print( q.parse("-skybox class:foo") )
print( q.parse("foo/flop moo or bar") )
print( q.parse("-foo/flop moo or bar") )
print( q.parse("price:>4 moo or bar") )
print( q.parse("price:>=4 moo or bar") )
print( q.parse("price:<=4 moo or bar") )
print( q.parse("price:!=4 moo or bar") )