def test_ellipse_acquisition_pattern_horizontal_ellipse_bigger_than_image( self): expected = self.setup.getExpectedOutputMatrix(self._testMethodName) self.actual = aqc.ellipsePattern(self.mask_size, 1500, 100, 0) self.assertTrue(self.setup.matrixEqual(expected, self.actual))
def test_ellipse_acquisition_pattern_centered_vertical_ellipse(self): expected = self.setup.getExpectedOutputMatrix(self._testMethodName) self.actual = aqc.ellipsePattern(self.mask_size, 100, 200, 0) self.assertTrue(self.setup.matrixEqual(expected, self.actual))