Blame view

bower_components/prism/tests/languages/vhdl/number_feature.test 526 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  '0'

  '1'

  'x'

  'z'

  

  42

  42_000

  3.14159

  2.4E8

  3.0e-2

  7.54e+24

  

  2#1010_1010#

  16#BadFace#

  

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

  

  [

  	["number", "'0'"],

  	["number", "'1'"],

  	["number", "'x'"],

  	["number", "'z'"],

  

  	["number", "42"],

  	["number", "42_000"],

  	["number", "3.14159"],

  	["number", "2.4E8"],

  	["number", "3.0e-2"],

  	["number", "7.54e+24"],

  

  	["number", "2#1010_1010#"],

  	["number", "16#BadFace#"]

  ]

  

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

  

  Checks for numbers.