Blame view

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

  2E3

  1.2e-4

  0.9e+1

  0o47

  0xBadFace

  

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

  

  [

  	["number", "42"],

  	["number", "3.14159"],

  	["number", "2E3"],

  	["number", "1.2e-4"],

  	["number", "0.9e+1"],

  	["number", "0o47"],

  	["number", "0xBadFace"]

  ]

  

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

  

  Checks for decimal, octal and hexadecimal numbers.