@@ -15,7 +15,7 @@ def to_sets(arr):
15
15
16
16
17
17
def test_coordinates_x ():
18
- """
18
+ r """
19
19
20
20
/\ /\
21
21
| | | Hexagon size 1.
@@ -34,7 +34,7 @@ def test_coordinates_x():
34
34
35
35
36
36
def test_coordinates_y ():
37
- """
37
+ r """
38
38
/\ /\
39
39
| | |
40
40
| 2| 3|
@@ -61,7 +61,7 @@ def test_coordinates_y():
61
61
62
62
63
63
def test_neighbours_x ():
64
- """
64
+ r """
65
65
66
66
/\ /\
67
67
| | | Hexagon size 1.
@@ -76,7 +76,7 @@ def test_neighbours_x():
76
76
77
77
78
78
def test_neighbours_x_periodic ():
79
- """
79
+ r """
80
80
81
81
/\ /\
82
82
| | | Hexagon size 1.
@@ -90,7 +90,7 @@ def test_neighbours_x_periodic():
90
90
91
91
92
92
def test_neighbours_x_periodic_all ():
93
- """
93
+ r """
94
94
95
95
/\ /\
96
96
| | | Hexagon size 1.
@@ -105,7 +105,7 @@ def test_neighbours_x_periodic_all():
105
105
106
106
107
107
def test_neighbours_y ():
108
- """
108
+ r """
109
109
/\
110
110
| |
111
111
| 1|
@@ -122,7 +122,7 @@ def test_neighbours_y():
122
122
123
123
124
124
def test_neighbours_y_square ():
125
- """
125
+ r """
126
126
/\
127
127
| |
128
128
| 1|
@@ -138,7 +138,7 @@ def test_neighbours_y_square():
138
138
139
139
140
140
def test_neighbours_y_periodic ():
141
- """
141
+ r """
142
142
/\
143
143
| |
144
144
| 1|
@@ -173,7 +173,7 @@ def test_neighbours_y_periodic():
173
173
174
174
175
175
def test_nearest_neighbours_multiple ():
176
- """
176
+ r """
177
177
/\ /\ /\
178
178
| | | |
179
179
| 6| 7| 8|
@@ -207,7 +207,7 @@ def test_nearest_neighbours_multiple():
207
207
208
208
209
209
def test_nearest_neighbours_multiple_square ():
210
- """
210
+ r """
211
211
212
212
/\ /\ /\
213
213
| | | |
@@ -239,7 +239,7 @@ def test_nearest_neighbours_multiple_square():
239
239
# -----------------------------------------------------------------------------
240
240
241
241
def test_neighbours_9shells_square_odd_row ():
242
- """
242
+ r """
243
243
244
244
Testing neighbour indexes manually, for a 11x11 hexagonal mesh with square
245
245
alignment. In this test we check the neighbours of the 60th lattice site,
0 commit comments