From 097196a85e15b3ce47a83ee8e382595588704431 Mon Sep 17 00:00:00 2001 From: Marvin Kastner Date: Sat, 9 Sep 2023 22:22:43 +0200 Subject: [PATCH] Fix test results --- .../tests/previews/test_quay_side_throughput_preview.py | 4 ++-- .../previews/test_quay_side_throughput_preview_report.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conflowgen/tests/previews/test_quay_side_throughput_preview.py b/conflowgen/tests/previews/test_quay_side_throughput_preview.py index 32b8a9db..439c88be 100644 --- a/conflowgen/tests/previews/test_quay_side_throughput_preview.py +++ b/conflowgen/tests/previews/test_quay_side_throughput_preview.py @@ -115,5 +115,5 @@ def test_one_feeder(self): vo_box = vo.containers self.assertAlmostEqual(vi_teu, 150) self.assertAlmostEqual(vi_box, 75) - self.assertAlmostEqual(vo_teu, 58.5) - self.assertAlmostEqual(vo_box, 29.25) + self.assertAlmostEqual(vo_teu, 72) + self.assertAlmostEqual(vo_box, 36) diff --git a/conflowgen/tests/previews/test_quay_side_throughput_preview_report.py b/conflowgen/tests/previews/test_quay_side_throughput_preview_report.py index eb10e792..7e89322d 100644 --- a/conflowgen/tests/previews/test_quay_side_throughput_preview_report.py +++ b/conflowgen/tests/previews/test_quay_side_throughput_preview_report.py @@ -115,7 +115,7 @@ def test_text_report(self): expected_report = \ ''' discharged (in containers) loaded (in containers) - 12000 4680 + 12000 5760 (rounding errors might exist) ''' self.assertEqual(report, expected_report)