def METHOD_NAME(self):
    grid = gen_grid.Grids(h2o)
    grid.prune = gen_grid.sg1_prune
    grid.atom_grid = {"H": (10, 50), "O": (10, 50),}
    grid.alignment = 0
    grid.build(with_non0tab=False)
    self.assertAlmostEqual(numpy.linalg.norm(grid.coords), 202.17732600266302, 9)
    self.assertAlmostEqual(numpy.linalg.norm(grid.weights), 442.54536463517167, 9)
    grid.prune = gen_grid.nwchem_prune
    grid.build(with_non0tab=False)
    self.assertAlmostEqual(numpy.linalg.norm(grid.coords), 149.55023044392638, 9)
    self.assertAlmostEqual(numpy.linalg.norm(grid.weights), 586.36841824004455, 9)
    z = 16
    rad, dr = radi.gauss_chebyshev(50)
    angs = gen_grid.sg1_prune(z, rad, 434, radii=radi.SG1RADII)
    self.assertAlmostEqual(lib.fp(angs), -291.0794420982329, 9)
    angs = gen_grid.nwchem_prune(z, rad, 434, radii=radi.BRAGG_RADII)
    self.assertAlmostEqual(lib.fp(angs), -180.12023039394498, 9)
    angs = gen_grid.nwchem_prune(z, rad, 26, radii=radi.BRAGG_RADII)
    self.assertTrue(numpy.all(angs==26))