How to use the meshzoo.simple_shell function in meshzoo

To help you get started, we’ve selected a few meshzoo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nschloe / meshzoo / test / test_meshzoo.py View on Github external
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