Blame view

bower_components/prism/tests/languages/oz/number_feature.test 512 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

  0154

  0xBadFace

  0B0101

  3.14159

  2e8

  3.E~7

  4.8E12

  &0

  &a

  &\n

  &\124

  

  ----------------------------------------------------

  

  [

  	["number", "0"],

  	["number", "42"],

  	["number", "0154"],

  	["number", "0xBadFace"],

  	["number", "0B0101"],

  	["number", "3.14159"],

  	["number", "2e8"],

  	["number", "3.E~7"],

  	["number", "4.8E12"],

  	["number", "&0"],

  	["number", "&a"],

  	["number", "&\\n"],

  	["number", "&\\124"]

  ]

  

  ----------------------------------------------------

  

  Checks for numbers.