Blame view

bower_components/prism/tests/languages/scheme/number_feature.test 665 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
  (foo 42)

  (foo 3.14159)

  (foo 3+4i)

  (foo 2.5+0.0i)

  (foo 3+0i)

  

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

  

  [

  	["punctuation", "("], ["function", "foo"], ["number", "42"], ["punctuation", ")"],

  	["punctuation", "("], ["function", "foo"], ["number", "3.14159"], ["punctuation", ")"],

  	["punctuation", "("], ["function", "foo"], ["number", "3+4i"], ["punctuation", ")"],

  	["punctuation", "("], ["function", "foo"], ["number", "2.5+0.0i"], ["punctuation", ")"],

  	["punctuation", "("], ["function", "foo"], ["number", "3+0i"], ["punctuation", ")"]

  ]

  

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

  

  Checks for numbers and complex numbers.