@@ -208,21 +208,21 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
208
208
// }
209
209
210
210
" A sqr4x4Reticulate" can " return the nodes belonging to each different gonality" in {
211
- sqr4x4Reticulate .groupGonals shouldBe
211
+ p4444_4by4_reticulate .groupGonals shouldBe
212
212
Map (
213
213
Vector (4 , 4 , 4 , 4 ) -> List (14 , 9 , 13 , 17 , 12 , 7 , 18 , 8 , 19 )
214
214
).mapKeys(_.map(Node (_)))
215
215
}
216
216
217
217
it can " have its nodes grouped in uniform sets" in {
218
- sqr4x4Reticulate .groupUniforms shouldBe
218
+ p4444_4by4_reticulate .groupUniforms shouldBe
219
219
Map (
220
220
(Vector (4 , 4 , 4 , 4 ), List ()) -> Vector (14 , 9 , 13 , 17 , 12 , 7 , 18 , 8 , 19 )
221
221
).mapValues2(_.map(Node (_)))
222
222
}
223
223
224
224
it can " have an uniformity value 1" in {
225
- sqr4x4Reticulate .uniformity shouldBe
225
+ p4444_4by4_reticulate .uniformity shouldBe
226
226
1
227
227
}
228
228
@@ -276,31 +276,31 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
276
276
}
277
277
278
278
" A triangleTriangleOfSide5" can " have its nodes grouped in uniform sets" in {
279
- triangleTriangleOfSide5 .groupUniforms shouldBe
279
+ p333333_triangle .groupUniforms shouldBe
280
280
Map (
281
281
(Vector (3 , 3 , 3 , 3 , 3 , 3 ), List ()) -> Vector (5 , 14 , 9 , 13 , 12 , 8 )
282
282
).mapValues2(_.map(Node (_)))
283
283
}
284
284
285
285
it can " have uniformity value 1" in {
286
- triangleTriangleOfSide5 .uniformity shouldBe
286
+ p333333_triangle .uniformity shouldBe
287
287
1
288
288
}
289
289
290
290
" A hexTrianguloidOfSide4" can " have its nodes grouped in uniform sets" in {
291
- hexTrianguloidOfSide4 .groupUniforms shouldBe
291
+ p666_triangle .groupUniforms shouldBe
292
292
Map (
293
293
(Vector (6 , 6 , 6 ), List ()) -> Vector (14 , 13 , 22 , 12 , 16 , 23 , 15 , 28 , 21 )
294
294
).mapValues2(_.map(Node (_)))
295
295
}
296
296
297
297
it can " have uniformity value 1" in {
298
- hexTrianguloidOfSide4 .uniformity shouldBe
298
+ p666_triangle .uniformity shouldBe
299
299
1
300
300
}
301
301
302
- " A uniform3gonal2 " can " have its nodes grouped in uniform sets" in {
303
- uniform3gonal2 .groupUniforms shouldBe
302
+ " A tiling with pattern [2x(3₆);(3₄.6)] " can " have its nodes grouped in uniform sets" in {
303
+ p2x333333_33336 .groupUniforms shouldBe
304
304
Map (
305
305
(Vector (3 , 3 , 3 , 3 , 3 , 3 ), List (0 )) -> Vector (51 , 55 , 50 , 53 , 56 , 57 , 54 ),
306
306
(Vector (3 , 3 , 3 , 3 , 6 ), List ()) -> Vector (14 , 33 , 13 , 35 , 15 , 24 , 37 , 34 , 17 , 22 , 27 , 26 , 23 ),
@@ -309,12 +309,12 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
309
309
}
310
310
311
311
it can " have uniformity value 3" in {
312
- uniform3gonal2 .uniformity shouldBe
312
+ p2x333333_33336 .uniformity shouldBe
313
313
3
314
314
}
315
315
316
- " A 5-uniform 3-Archimedean tiling " can " have its nodes grouped in uniform sets" in {
317
- uniform5gonal3 .groupUniforms shouldBe
316
+ " A tiling with pattern [2x(3₆);2x(3₄.6);(3.3.6.6)] " can " have its nodes grouped in uniform sets" in {
317
+ p2x333333_2x33336_3366 .groupUniforms shouldBe
318
318
Map (
319
319
(Vector (3 , 3 , 3 , 3 , 3 , 3 ), List (0 )) -> Vector (101 , 106 , 102 , 113 , 108 , 104 ),
320
320
(Vector (3 , 3 , 3 , 3 , 6 ), List (1 )) -> Vector (37 , 78 , 33 , 48 , 23 , 47 , 34 , 64 ),
@@ -325,7 +325,7 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
325
325
}
326
326
327
327
it can " have uniformity value 5 and gonality value 3" in {
328
- (uniform5gonal3 .gonality, uniform5gonal3 .uniformity) shouldBe
328
+ (p2x333333_2x33336_3366 .gonality, p2x333333_2x33336_3366 .uniformity) shouldBe
329
329
(3 , 5 )
330
330
}
331
331
@@ -344,7 +344,7 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
344
344
}
345
345
346
346
" A 7 uniform tiling [(3₆);2x(3₂.6₂);4x(6₃)]" can " have its nodes grouped in uniform sets" in {
347
- uniform7gonal3 .groupUniforms shouldBe
347
+ p333333_2x3366_4x666 .groupUniforms shouldBe
348
348
Map (
349
349
(Vector (6 , 6 , 6 ), List (1 )) -> Vector (111 , 159 , 33 , 75 , 123 , 69 , 138 , 84 , 61 , 137 , 97 , 112 , 48 , 83 , 76 , 98 , 47 , 62 ),
350
350
(Vector (3 , 3 , 6 , 6 ), List (1 )) -> Vector (110 , 92 , 153 , 78 , 64 , 49 , 81 , 67 , 154 , 139 , 82 , 77 , 96 , 63 , 95 ),
@@ -357,7 +357,7 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
357
357
}
358
358
359
359
it can " have them grouped by vertex" in {
360
- uniform7gonal3 .groupUniformsNestedComplete shouldBe
360
+ p333333_2x3366_4x666 .groupUniformsNestedComplete shouldBe
361
361
Map (
362
362
Vector (3 , 3 , 6 , 6 ) -> List (
363
363
(List (0 ), Vector (170 , 142 , 52 , 93 , 65 , 156 , 169 , 141 , 66 , 155 , 108 , 3 , 80 , 18 , 51 , 4 , 79 , 94 )),
@@ -376,7 +376,7 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
376
376
}
377
377
378
378
it can " have uniformity value 7 and gonality value 3" in {
379
- (uniform7gonal3 .gonality, uniform7gonal3 .uniformity) shouldBe
379
+ (p333333_2x3366_4x666 .gonality, p333333_2x3366_4x666 .uniformity) shouldBe
380
380
(3 , 7 )
381
381
}
382
382
@@ -547,14 +547,14 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
547
547
548
548
" A 3-uniform 2-Archimedean tiling [2x(3₆);(3₄.6)]" can " be described" in {
549
549
val t : Tiling =
550
- uniform3gonal2
550
+ p2x333333_33336
551
551
(t.gonality, t.uniformity) shouldBe
552
552
(2 , 3 )
553
553
}
554
554
555
555
" A 4-uniform 4-Archimedean tiling [(3₆);(3₄.6);(3₂.6₂);(6₃)]" can " be described" in {
556
556
val t : Tiling =
557
- uniform4gonal4
557
+ p333333_33336_3366_666
558
558
(t.gonality, t.uniformity) shouldBe
559
559
(4 , 4 )
560
560
}
@@ -785,7 +785,7 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
785
785
}
786
786
787
787
" Another smaller tiling [(3.4.6.4)]" can " be examined for outer polygon strips from perimeter node 22" in {
788
- triSqrHexHexoid .outerOrderedStripFromSingle(Node (22 )) shouldBe
788
+ p3464 .outerOrderedStripFromSingle(Node (22 )) shouldBe
789
789
List (
790
790
(List (6 ), false ),
791
791
(List (4 ), false ),
@@ -797,7 +797,7 @@ class TilingUniformitySpec extends AnyFlatSpec with Helper with should.Matchers
797
797
}
798
798
799
799
val matrix : Map [Node , List [(List [Int ], Boolean )]] =
800
- triSqrHexHexoid .outerOrderedStripFrom(triSqrHexHexoid .graphEdges.nodes.diff(triSqrHexHexoid .perimeter.toRingNodes))
800
+ p3464 .outerOrderedStripFrom(p3464 .graphEdges.nodes.diff(p3464 .perimeter.toRingNodes))
801
801
802
802
it can " be examined for outer polygon strips from all nodes" in {
803
803
matrix shouldBe
0 commit comments