83aaf46c9feab529aeb9add871c05c3d1177afccaurium#!/usr/bin/env python
83aaf46c9feab529aeb9add871c05c3d1177afccaurium
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# This is only the automatic generated test file for ../rtree.py
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# This must be filled with real tests and this commentary
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# must be cleared.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# If you want to help, read the python unittest documentation:
83aaf46c9feab529aeb9add871c05c3d1177afccaurium# http://docs.python.org/library/unittest.html
83aaf46c9feab529aeb9add871c05c3d1177afccaurium
83aaf46c9feab529aeb9add871c05c3d1177afccauriumimport sys
83aaf46c9feab529aeb9add871c05c3d1177afccauriumsys.path.append('..') # this line allows to import the extension code
83aaf46c9feab529aeb9add871c05c3d1177afccaurium
83aaf46c9feab529aeb9add871c05c3d1177afccauriumimport unittest
83aaf46c9feab529aeb9add871c05c3d1177afccauriumfrom rtree import *
83aaf46c9feab529aeb9add871c05c3d1177afccaurium
83aaf46c9feab529aeb9add871c05c3d1177afccauriumclass RTreeTurtleBasicTest(unittest.TestCase):
83aaf46c9feab529aeb9add871c05c3d1177afccaurium
83aaf46c9feab529aeb9add871c05c3d1177afccaurium #def setUp(self):
83aaf46c9feab529aeb9add871c05c3d1177afccaurium
83aaf46c9feab529aeb9add871c05c3d1177afccaurium def test_run_without_parameters(self):
83aaf46c9feab529aeb9add871c05c3d1177afccaurium args = [ 'minimal-blank.svg' ]
83aaf46c9feab529aeb9add871c05c3d1177afccaurium e = RTreeTurtle()
83aaf46c9feab529aeb9add871c05c3d1177afccaurium e.affect( args, False )
83aaf46c9feab529aeb9add871c05c3d1177afccaurium #self.assertEqual( e.something, 'some value', 'A commentary about that.' )
83aaf46c9feab529aeb9add871c05c3d1177afccaurium
83aaf46c9feab529aeb9add871c05c3d1177afccauriumif __name__ == '__main__':
83aaf46c9feab529aeb9add871c05c3d1177afccaurium unittest.main()