def test_patches_at_link(): """Test getting link patches.""" converter = VoronoiConverter(Voronoi(POINTS)) patches_at_link = converter.get_patches_at_link() assert patches_at_link.shape == (11, 2) for patches in patches_at_link: assert patches[0] != -1 or patches[1] != -1
def test_patches_at_link(): """Test getting link patches.""" converter = VoronoiConverter(Voronoi(POINTS)) patches_at_link = converter.get_patches_at_link() assert_tuple_equal(patches_at_link.shape, (11, 2)) for patches in patches_at_link: assert_true(patches[0] != -1 or patches[1] != -1)
def test_patches_at_link(): """Test getting link patches.""" converter = VoronoiConverter(Voronoi(POINTS)) patches_at_link = converter.get_patches_at_link() assert_tuple_equal(patches_at_link.shape, (11, 2)) for patches in patches_at_link: assert_true(patches[0] != -1 or patches[1] != -1)
def test_patches_at_link(): """Test getting link patches.""" converter = VoronoiConverter(Voronoi(POINTS)) patches_at_link = converter.get_patches_at_link() assert patches_at_link.shape == (11, 2) for patches in patches_at_link: assert patches[0] != -1 or patches[1] != -1