Skip to content

Commit c1b17ec

Browse files
committed
use builtin runtests more explicitly
1 parent 2b10df5 commit c1b17ec

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
dist: focal
2-
31
language: matlab
42

3+
os:
4+
- linux
5+
56
matlab:
6-
- latest
7+
- latest
8+
9+
script:
10+
- matlab -batch "r = runtests('matmap3d.tests'); assert(~isempty(r)); assertSuccess(r)"

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import matmap3d.*
2626
Optionally, verify functionality:
2727

2828
```matlab
29-
runtests
29+
runtests('matmap3d.tests')
3030
```
3131

3232
### Functions
@@ -77,3 +77,10 @@ https://www.mathworks.com/matlabcentral/answers/443558-matlab-crashes-when-using
7777

7878
In particular, since PyMap3D uses Astropy for ECI transformations the accuracy will generally be better for eci2* or *2eci functions.
7979
All other functions should have equivalent accuracy with Matlab vs. Python.
80+
81+
### GNU Octave
82+
83+
GNU Octave users should consider the
84+
[Octave Mapping Toolbox](https://octave.sourceforge.io/mapping/index.html),
85+
which added similar functions in
86+
[version 1.4](http://hg.code.sf.net/p/octave/mapping/file/tip/NEWS).

test_matmap3d.m

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)