|
20 | 20 | "rows": 25,
|
21 | 21 | "columns": 40,
|
22 | 22 | "aspectRatio": 1.6,
|
23 |
| - "format": "portrait" |
| 23 | + "format": "landscape" |
24 | 24 | }
|
25 | 25 | },
|
26 | 26 | {
|
|
60 | 60 | "format": "portrait"
|
61 | 61 | }
|
62 | 62 | },
|
63 |
| - { |
64 |
| - "uuid": "2d910864-1388-11f0-9a22-145afc5ea279", |
65 |
| - "description": "puzzle globe with 81 pieces", |
66 |
| - "property": "jigsawData", |
67 |
| - "input": { |
68 |
| - "border": 0, |
69 |
| - "inside": 81 |
70 |
| - }, |
71 |
| - "expected": { |
72 |
| - "pieces": 81, |
73 |
| - "border": 0, |
74 |
| - "inside": 81, |
75 |
| - "rows": 9, |
76 |
| - "columns": 9, |
77 |
| - "aspectRatio": 1.0, |
78 |
| - "format": "globe" |
79 |
| - } |
80 |
| - }, |
81 | 63 | {
|
82 | 64 | "uuid": "32d6bfe1-1388-11f0-b268-145afc5ea279",
|
83 | 65 | "description": "puzzle with insufficient data",
|
|
102 | 84 | "expected": {
|
103 | 85 | "error": "Contradictory data"
|
104 | 86 | }
|
105 |
| - }, |
106 |
| - { |
107 |
| - "uuid": "42b3f426-1388-11f0-ab04-145afc5ea279", |
108 |
| - "description": "100 pieces configurations", |
109 |
| - "property": "jigsawConfigurations", |
110 |
| - "input": { "pieces": 100 }, |
111 |
| - "expected": [ |
112 |
| - { "rows": 1, "columns": 100 }, |
113 |
| - { "rows": 2, "columns": 50 }, |
114 |
| - { "rows": 4, "columns": 25 }, |
115 |
| - { "rows": 5, "columns": 20 }, |
116 |
| - { "rows": 10, "columns": 10 }, |
117 |
| - { "rows": 20, "columns": 5 }, |
118 |
| - { "rows": 25, "columns": 4 }, |
119 |
| - { "rows": 50, "columns": 2 }, |
120 |
| - { "rows": 100, "columns": 1 } |
121 |
| - ] |
122 |
| - }, |
123 |
| - { |
124 |
| - "uuid": "4ad014ab-1388-11f0-8431-145afc5ea279", |
125 |
| - "description": "prime number of pieces", |
126 |
| - "property": "jigsawConfigurations", |
127 |
| - "input": { "pieces": 739 }, |
128 |
| - "expected": [ |
129 |
| - { "rows": 1, "columns": 739 }, |
130 |
| - { "rows": 739, "columns": 1 } |
131 |
| - ] |
132 | 87 | }
|
133 | 88 | ]
|
134 | 89 | }
|
0 commit comments