def test_read_write(self):
     data = CalibrationData("camera", "frame", "image_width", "image_height")
     data.read_camera_yaml_file(TEST_FILE)
     data.save_camera_yaml_file(TEST_OUT)
     
     # compare with correct results
     self.assertTrue(self._cmp_files(TEST_FILE, TEST_OUT))
示例#2
0
    def test_read_write(self):
        data = CalibrationData("camera", "frame", "image_width",
                               "image_height")
        data.read_camera_yaml_file(TEST_FILE)
        data.save_camera_yaml_file(TEST_OUT)

        # compare with correct results
        self.assertTrue(self._cmp_files(TEST_FILE, TEST_OUT))
 def test_read(self):
     data = CalibrationData("camera", "frame", "image_width", "image_height")
     data.read_camera_yaml_file(TEST_FILE)
示例#4
0
 def test_read(self):
     data = CalibrationData("camera", "frame", "image_width",
                            "image_height")
     data.read_camera_yaml_file(TEST_FILE)