From b607dc4f35c392d58884f6fd8ff033427b0ac6ff Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Fri, 26 Jun 2020 21:17:41 +0200 Subject: [PATCH] Test results updated --- tests/data/esbo-etc_defaults.xml | 2 +- tests/target/test_BlackBodyTarget.py | 2 +- tests/target/test_FileTarget.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/data/esbo-etc_defaults.xml b/tests/data/esbo-etc_defaults.xml index 4555151..72232f3 100644 --- a/tests/data/esbo-etc_defaults.xml +++ b/tests/data/esbo-etc_defaults.xml @@ -15,7 +15,7 @@ - diff --git a/tests/target/test_BlackBodyTarget.py b/tests/target/test_BlackBodyTarget.py index 5106d7b..c7d1ca5 100644 --- a/tests/target/test_BlackBodyTarget.py +++ b/tests/target/test_BlackBodyTarget.py @@ -13,7 +13,7 @@ class TestBlackBodyTarget(TestCase): def test_calcSignal(self): signal = SpectralQty(np.arange(400, 800, 100) << u.nm, np.array([4.91164694e-15, 5.61732017e-15, 5.22403225e-15, 4.43017583e-15]) << u.W / (u.m ** 2 * u.nm)) - self.assertEqual(self.target.calcSignal(), (signal, "Point", 0.0)) + self.assertEqual(self.target.calcSignal(), (signal, 0.0)) def test_calcBackground(self): noise = SpectralQty(np.arange(400, 800, 100) << u.nm, np.repeat(0, 4) << u.W / (u.m ** 2 * u.nm * u.sr)) diff --git a/tests/target/test_FileTarget.py b/tests/target/test_FileTarget.py index 9952928..b218270 100644 --- a/tests/target/test_FileTarget.py +++ b/tests/target/test_FileTarget.py @@ -12,7 +12,7 @@ class TestFileTarget(TestCase): def test_calcSignal(self): signal = SpectralQty(np.arange(200, 210, 1) << u.nm, np.arange(1.1e-15, 2.0e-15, 1e-16) << u.W / (u.m ** 2 * u.nm)) - self.assertEqual(self.target.calcSignal(), (signal, "Point", 0.0)) + self.assertEqual(self.target.calcSignal(), (signal, 0.0)) def test_calcBackground(self): noise = SpectralQty(np.arange(200, 210, 1) << u.nm,