Esempio n. 1
0
def test_simple_shell():
    points, cells = meshzoo.simple_shell()
    assert len(points) == 5
    assert _near_equal(numpy.sum(points, axis=0), [0.0, 0.0, 1.0])
    assert len(cells) == 4
Esempio n. 2
0
def test_simple_shell():
    points, cells = meshzoo.simple_shell()
    assert len(points) == 5
    assert _near_equal(numpy.sum(points, axis=0), [0.0, 0.0, 1.0])
    assert len(cells) == 4
    return