示例#1
0
 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))
示例#2
0
 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))