def METHOD_NAME(self):
    np.random.seed(0)
    shape = [2, 4]
    points = gen.tools.generate_base_points(700, shape, reflect=True)
    net, vor = gen.voronoi(points=points, shape=shape, trim=False)
    trim = isoutside(net, shape=shape, rtol=[0.05, 0])
    net = trim_nodes(net, np.where(trim)[0])
    assert net['node.coords'].shape[0] == 5800
    assert net['edge.conns'].shape[0] == 11272