def test_no_interiors(): interiors = sgrid.interior_nodes((2, 3)) assert_array_equal(interiors, np.array([]))
def test_interior_nodes_4_by_5(): interiors = sgrid.interior_nodes((4, 5)) assert_array_equal(interiors, np.array([6, 7, 8, 11, 12, 13]))
def test_no_interiors(self): interiors = sgrid.interior_nodes((2, 3)) self.assertArrayEqual(interiors, np.array([]))
def test_4_by_5(self): interiors = sgrid.interior_nodes((4, 5)) self.assertArrayEqual(interiors, np.array([6, 7, 8, 11, 12, 13]))