Skip to content

Commit 75bc0ec

Browse files
committed
Removing test for pixelispoint...more complicated than I thought!
1 parent 96d5256 commit 75bc0ec

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/test_shatter.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,6 @@ def test_command(self, shatter_config, storage: Storage, maxy):
4141
# if oob error, it's not this test's fault
4242
assert bool(np.all( a[xi, yi]['Z'][0] == ((maxy/storage.config.resolution) - (yi + 1)) ))
4343

44-
def test_command_point(self, shatter_config, storage: Storage, maxy):
45-
storage.config.alignment = 'pixelispoint'
46-
shatter(shatter_config)
47-
with storage.open('r') as a:
48-
assert a[:,:]['Z'].shape[0] == 121
49-
xdom = a.schema.domain.dim('X').domain[1]
50-
ydom = a.schema.domain.dim('Y').domain[1]
51-
assert xdom == 11
52-
assert ydom == 11
53-
54-
for xi in range(xdom):
55-
for yi in range(ydom):
56-
a[xi, yi]['Z'].size == 1
57-
a[xi, yi]['Z'][0].size == 900
58-
# this should have all indices from 0 to 9 filled.
59-
# if oob error, it's not this test's fault
60-
assert bool(np.all( a[xi, yi]['Z'][0] == ((maxy/storage.config.resolution) - (yi + 1)) ))
61-
6244
def test_multiple(self, shatter_config, storage: Storage, maxy):
6345
shatter(shatter_config)
6446
with storage.open('r') as a:

0 commit comments

Comments
 (0)