From 5c93b64cd351c7ccbf14ef53eae7d15736835496 Mon Sep 17 00:00:00 2001 From: Guille Date: Fri, 8 Jan 2021 09:37:38 -0500 Subject: [PATCH] Code review and small corrections over the new interfaces dor physics and usage factories --- tests/test_geometry_factory.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_geometry_factory.py b/tests/test_geometry_factory.py index 80e46ec2..58d15ee5 100644 --- a/tests/test_geometry_factory.py +++ b/tests/test_geometry_factory.py @@ -79,16 +79,11 @@ class TestGeometryFactory(TestCase): city = City.load(self._kelowna_pickle_file) helper = GeometryHelper(delta=0.0, area_delta=0.5) errors = 0 - ok = 0 for building in city.buildings: building._polyhedron._geometry = helper if str(building.volume) == 'inf': building.stl_export(self._output_path) errors += 1 - elif ok == 0: - building.stl_export(self._output_path) - print(f'ok {building.name} {building.volume}') - ok = 1 print(f'{errors} buildings aren\'t closed volumes') def test_citygml_buildings(self):