Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Daniel Scheffler
geoarray
Commits
7c89ff4d
Commit
7c89ff4d
authored
Nov 22, 2017
by
Daniel Scheffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tests for plotting functions.
parent
345c9ca9
Pipeline
#1590
passed with stages
in 1 minute and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tests/test_geoarray.py
tests/test_geoarray.py
+5
-2
No files found.
tests/test_geoarray.py
View file @
7c89ff4d
...
...
@@ -35,6 +35,7 @@ import unittest
from
unittest
import
TestLoader
import
matplotlib
from
typing
import
Iterable
from
importlib
import
util
# Imports regarding the created python module.
from
py_tools_ds.geo.vector
import
geometry
...
...
@@ -510,8 +511,10 @@ class Test_GeoarrayFunctions(unittest.TestCase):
# TODO: https://github.com/ketch/griddle/blob/master/tests/plot_tests.py
self
.
testtiff
.
show
()
# self.testtiff.show(interactive=True) # only works if test is started with ipython.
# self.testtiff.show_map()
# self.testtiff.show_map_utm() # Function still under construction.
if
util
.
find_spec
(
'mpl_toolkits.basemap'
):
self
.
testtiff
.
show_map
()
self
.
testtiff
.
show_map_utm
()
# Function still under construction.
self
.
testtiff
.
show_histogram
()
# ----> TODO: Write tests for the remaining functions!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment