number_feature.test
816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
0xBad_Face
0o741_123
0b0000_1111
42_000
3.14_15_9
3e4
3.5E-8
4.6e+41
0xBad_Faceu8
0o741_123i8
0b0000_1111u16
42_000i16
3.14_15_9u32
3e4i32
3.5E-8u64
4.6e+41i64
4.2f32
4.2f64
----------------------------------------------------
[
["number", "0xBad_Face"],
["number", "0o741_123"],
["number", "0b0000_1111"],
["number", "42_000"],
["number", "3.14_15_9"],
["number", "3e4"],
["number", "3.5E-8"],
["number", "4.6e+41"],
["number", "0xBad_Faceu8"],
["number", "0o741_123i8"],
["number", "0b0000_1111u16"],
["number", "42_000i16"],
["number", "3.14_15_9u32"],
["number", "3e4i32"],
["number", "3.5E-8u64"],
["number", "4.6e+41i64"],
["number", "4.2f32"],
["number", "4.2f64"]
]
----------------------------------------------------
Checks for numbers.