Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

View File

@ -0,0 +1,36 @@
# Make sure metadata [the stuff inside ()s] don't match as Attributes.
---input---
float[] primvars:skel:jointWeights = [1] (
elementSize = 1
interpolation = "constant"
)
---tokens---
'float[]' Keyword.Type
' ' Text.Whitespace
'primvars:skel:jointWeights' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'[' Punctuation
'1' Literal.Number
']' Punctuation
' ' Text.Whitespace
'(' Punctuation
'\n ' Text.Whitespace
'elementSize' Name.Builtins
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'1' Literal.Number
'\n ' Text.Whitespace
'interpolation' Name.Builtins
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"constant"' Literal.String
'\n' Text.Whitespace
')' Punctuation
'\n' Text.Whitespace