Skip to content

Commit

Permalink
another small amount of tests
Browse files Browse the repository at this point in the history
wrote a test or two, updated travis yml file to not install pytest as that is provided in the travis vms, fixed #21 , looks like I have wrappers for the new functions from N65 and comments in place for non written wrappers/tests.
  • Loading branch information
AndrewAnnex committed Oct 4, 2014
1 parent 5cd3ecf commit 40799d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -8,7 +8,6 @@ before_install:
- pip install --use-mirrors numpy
- pip install --use-mirrors coverage
- pip install --use-mirrors coveralls
- pip install --use-mirrors pytest
- pip install --use-mirrors six
install:
- python setup.py install
Expand Down
8 changes: 4 additions & 4 deletions SpiceyPy/wrapper.py
Expand Up @@ -1723,12 +1723,10 @@ def getmsg(option, lenout):


def gfbail():
#todo: test gfbail. funny name
return libspice.gfbail_c()


def gfclrh():
#Todo: test gfclrh
libspice.gfclrh_c()
pass

Expand Down Expand Up @@ -1999,7 +1997,10 @@ def gftfov(inst, target, tshape, tframe, abcorr, obsrvr, step, cnfine):
libspice.gftfov_c(inst, target, tshape, tframe, abcorr, obsrvr, step, ctypes.byref(cnfine), ctypes.byref(result))


#gfuds has cell types and more
# gfudb has call backs


#gfuds has call backs


def gipool(name, start, room):
Expand Down Expand Up @@ -3054,7 +3055,6 @@ def qcktrc(tracelen):


def qdq2av(q, dq):
#Todo: test qdq2av
q = stypes.toDoubleVector(q)
dq = stypes.toDoubleVector(dq)
vout = stypes.emptyDoubleVector(3)
Expand Down
5 changes: 3 additions & 2 deletions test/test_wrapper.py
Expand Up @@ -2112,11 +2112,12 @@ def test_getmsg():


def test_gfbail():
assert 1
assert not spice.gfbail()


def test_gfclrh():
assert 1
spice.gfclrh()
assert not spice.gfbail()


def test_gfdist():
Expand Down

0 comments on commit 40799d0

Please sign in to comment.