Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6ec3f9b32c
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 21 lines (14 sloc) 0.555 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# Test the bounding box class

import unittest
from cgkit.boundingbox import BoundingBox

# Tests vervollstaendigen! Exception, falls getBounds() mit leerer Box
# aufgerufen wird.

class TestBBConstructor(unittest.TestCase):
    
    def testStandardConstructor(self):
        bb = BoundingBox()
        self.failUnless(bb.isEmpty(), "Newly constructed bbox is not empty!")
# bmin, bmax = bb.getBounds()
# print bmin, bmax

######################################################################

if __name__=="__main__":
    unittest.main()
Something went wrong with that request. Please try again.