def test_is_empty(): mesh = Mesh() assert mesh.is_empty() mesh.add_vertex() assert not mesh.is_empty()