Skip to content

Commit

Permalink
TST: add __main__ stanza to polytope_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
johnyf committed Jul 13, 2016
1 parent 1638f41 commit cf38910
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/polytope_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ def comparison_test():

# test V-rep -> H-rep with d+1 points
p4 = pc.qhull(np.array([[0,0], [1,0], [0,1]]))
assert(p4 == pc.Polytope(np.array([[1,1], [0,-1], [0,-1]]), np.array([1,0,0])))
assert(p4 == pc.Polytope(np.array([[1,1], [0,-1], [0,-1]]), np.array([1,0,0])))


if __name__ == '__main__':
comparison_test()

0 comments on commit cf38910

Please sign in to comment.