Blame view

bower_components/prism/tests/languages/lua/number_feature.test 558 Bytes
f748e9cf   Luigi Serra   new controllet an...
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
  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.