prints removed

This commit is contained in:
Lukas Klass 2020-04-14 13:48:56 +02:00
parent b7865fe93b
commit e763a753a0

View File

@ -100,11 +100,7 @@ class TestSpectralQty(TestCase):
def test_fromFile(self):
sqty = SpectralQty.fromFile("data/target/target_demo_1.csv", u.nm, u.W / (u.m ** 2 * u.nm))
print(sqty.qty)
print(sqty.wl)
res = SpectralQty(np.arange(1.1, 2.1, 0.1) * 1e-15 << u.W / (u.m**2 * u.nm),
np.arange(200, 210, 1) << u.nm)
print(res.qty)
print(res.wl)
self.assertEqual(sqty, SpectralQty(np.arange(200, 210, 1) << u.nm,
np.arange(1.1, 2.1, 0.1) * 1e-15 << u.W / (u.m**2 * u.nm)))