Blame view

bower_components/prism/tests/languages/clike/number_feature.test 388 Bytes
eb240478   Luigi Serra   public room cards...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  42

  3.14159

  4e10

  2.1e-10

  0.4e+2

  0xbabe

  0xBABE

  

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

  

  [

  	["number", "42"],

  	["number", "3.14159"],

  	["number", "4e10"],

  	["number", "2.1e-10"],

  	["number", "0.4e+2"],

  	["number", "0xbabe"],

  	["number", "0xBABE"]

  ]

  

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

  

  Checks for decimal numbers and hexadecimal numbers.