jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/lua/number_feature.test

35 lines
524 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
0
42
3.14159
3.
.42
4e14
3.14e+8
.7E-1
4.e12
0xBadFace
0x0.1E
0xA23p-4
0X1.921FB54442D18P+1
----------------------------------------------------
[
["number", "0"],
["number", "42"],
["number", "3.14159"],
["number", "3."],
["number", ".42"],
["number", "4e14"],
["number", "3.14e+8"],
["number", ".7E-1"],
["number", "4.e12"],
["number", "0xBadFace"],
["number", "0x0.1E"],
["number", "0xA23p-4"],
["number", "0X1.921FB54442D18P+1"]
]
----------------------------------------------------
Checks for numbers.