def test_get_xy_steps(): r"""Test get count of grids function.""" x = list(range(10)) y = list(range(10)) bbox = get_boundary_coords(x, y) x_steps, y_steps = get_xy_steps(bbox, 3) truth_x = 3 truth_y = 3 assert x_steps == truth_x assert y_steps == truth_y