Skip to content
Snippets Groups Projects
Select Git revision
  • 67de92fe32998162c9e09eba238867d2af3434e4
  • master default
  • Omar
  • Jack
4 results

test_registration.py

Blame
  • test_registration.py 504 B
    """
    Testing suite for the core module
    """
    
    import unittest
    from util import get_path
    
    
    class TestRegistration(unittest.TestCase):
        ACCURACY = 5  # The number of decimal places to value accuracy for - needed due to floating point inaccuracies
    
        def setUp(self):
            """Runs before each unit test.
            Sets up the AmpObject object using "stl_file.stl".
            """
            from AmpScan.core import AmpObject
            stl_path = get_path("stl_file.stl")
            self.amp = AmpObject(stl_path)