def test_get_point_count_within_r(): r"""Test get point count within a radius function.""" x = list(range(10)) y = list(range(10)) center1 = [1, 5] center2 = [12, 10] radius = 5 count = get_point_count_within_r([center1, center2], list(zip(x, y)), radius) truth = np.array([5, 2]) assert_array_almost_equal(truth, count)