~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/yaml/number_feature.test

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
foo: 0xBadFace
 
3
bar: 0o754
 
4
baz: 42
 
5
foo: 3.14159
 
6
bar: 4e8
 
7
baz: 3.1E-7
 
8
foo: 0.4e+2
 
9
bar: -0xFF
 
10
baz: +0o123
 
11
 
 
12
----------------------------------------------------
 
13
 
 
14
[
 
15
        ["punctuation", "---"],
 
16
        ["key", "foo"], ["punctuation", ":"],
 
17
        ["number", "0xBadFace"],
 
18
        ["key", "bar"], ["punctuation", ":"],
 
19
        ["number", "0o754"],
 
20
        ["key", "baz"], ["punctuation", ":"],
 
21
        ["number", "42"],
 
22
        ["key", "foo"], ["punctuation", ":"],
 
23
        ["number", "3.14159"],
 
24
        ["key", "bar"], ["punctuation", ":"],
 
25
        ["number", "4e8"],
 
26
        ["key", "baz"], ["punctuation", ":"],
 
27
        ["number", "3.1E-7"],
 
28
        ["key", "foo"], ["punctuation", ":"],
 
29
        ["number", "0.4e+2"],
 
30
        ["key", "bar"], ["punctuation", ":"],
 
31
        ["number", "-0xFF"],
 
32
        ["key", "baz"], ["punctuation", ":"],
 
33
        ["number", "+0o123"]
 
34
]
 
35
 
 
36
----------------------------------------------------
 
37
 
 
38
Checks for numbers.
 
 
b'\\ No newline at end of file'