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

30 lines
516 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
0xbabe
0xBAD_A55
0c7654_1234
0b1111_0000_0101
42
42.
.42
1_845.123_456
3.14e+4
4_2.5_7e-1_0
----------------------------------------------------
[
["number", "0xbabe"],
["number", "0xBAD_A55"],
["number", "0c7654_1234"],
["number", "0b1111_0000_0101"],
["number", "42"],
["number", "42."],
["number", ".42"],
["number", "1_845.123_456"],
["number", "3.14e+4"],
["number", "4_2.5_7e-1_0"]
]
----------------------------------------------------
Checks for hexadecimal, octal, binary and decimal numbers.