~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/rest/table_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 |   bar   |
 
3
+=====+=========+
 
4
| foo |   bar   |
 
5
+-----+---------+
 
6
 
 
7
        +---+
 
8
        | 1 |
 
9
        +---+
 
10
 
 
11
=== ===
 
12
 a   b
 
13
=== ===
 
14
 1   2
 
15
=== ===
 
16
 
 
17
        ==== ==== =====
 
18
           foo     bar
 
19
        --------- -----
 
20
         ab   cd    e
 
21
        ==== ==== =====
 
22
          1    2    3
 
23
          4    5    6
 
24
        ==== ==== =====
 
25
 
 
26
----------------------------------------------------
 
27
 
 
28
[
 
29
        ["table", [
 
30
                ["punctuation", "+-----+---------+"],
 
31
                ["punctuation", "|"], " foo ", ["punctuation", "|"], "   bar   ", ["punctuation", "|"],
 
32
                ["punctuation", "+=====+=========+"],
 
33
                ["punctuation", "|"], " foo ", ["punctuation", "|"], "   bar   ", ["punctuation", "|"],
 
34
                ["punctuation", "+-----+---------+"]
 
35
        ]],
 
36
 
 
37
        ["table", [
 
38
                ["punctuation", "+---+"],
 
39
                ["punctuation", "|"], " 1 ", ["punctuation", "|"],
 
40
                ["punctuation", "+---+"]
 
41
        ]],
 
42
 
 
43
        ["table", [
 
44
                ["punctuation", "==="], ["punctuation", "==="],
 
45
                "\r\n a   b\r\n",
 
46
                ["punctuation", "==="], ["punctuation", "==="],
 
47
                "\r\n 1   2\r\n",
 
48
                ["punctuation", "==="], ["punctuation", "==="]
 
49
        ]],
 
50
 
 
51
        ["table", [
 
52
                ["punctuation", "===="], ["punctuation", "===="], ["punctuation", "====="],
 
53
                "\r\n\t   foo     bar\r\n\t",
 
54
                ["punctuation", "---------"], ["punctuation", "-----"],
 
55
                "\r\n\t ab   cd    e\r\n\t",
 
56
                ["punctuation", "===="], ["punctuation", "===="], ["punctuation", "====="],
 
57
                "\r\n\t  1    2    3\r\n\t  4    5    6\r\n\t",
 
58
                ["punctuation", "===="], ["punctuation", "===="], ["punctuation", "====="]
 
59
        ]]
 
60
]
 
61
 
 
62
----------------------------------------------------
 
63
 
 
64
Checks for grid tables and simple tables.
 
 
b'\\ No newline at end of file'