Skip to content

Commit

Permalink
print grid values to see how appveyor tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
njwilson23 committed Mar 28, 2017
1 parent 262708e commit f039da6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/aai_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ def test_read_aai_corner(self):
pe = peaks(n=49)
control = karta.RegularGrid((0.0, 0.0, 30.0, 30.0, 0.0, 0.0), values=pe)
grid = karta.read_aai(os.path.join(TESTDATA, "peaks49_corner.asc"))
print(grid[::-1][:8,:8])
print(control[:8,:8])
self.assertTrue(np.all(grid[::-1] == control[:,:]))
return

def test_read_aai_center(self):
pe = peaks(n=49)
control = karta.RegularGrid((0.0, 0.0, 30.0, 30.0, 0.0, 0.0), values=pe)
grid = karta.read_aai(os.path.join(TESTDATA, "peaks49_center.asc"))
print(grid[::-1][:8,:8])
print(control[:8,:8])
self.assertTrue(np.all(grid[::-1] == control[:,:]))
return

Expand Down

0 comments on commit f039da6

Please sign in to comment.