Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/e/CellProfiler-HEAD/cellprofiler/modules/tests/test_flipandrotate.py   CellProfiler(Download)
        draw_line(img, pt0, pt1, 1)
        i,j = np.mgrid[0:20,0:20]
        for option in (F.C_HORIZONTALLY, F.C_VERTICALLY):
            def fn(module):
                self.assertTrue(isinstance(module, F.FlipAndRotate))
            pixels = output_image.pixel_data
 
            if option == F.C_HORIZONTALLY:
                self.assertAlmostEqual(angle,
                                       np.arctan2(pt1[0]-pt0[0],