Commit eeea911684710b488047302e842fb2c4f91242b4

Authored by Jürgen Knödlseder
1 parent f1ce5f25

Correct reference value for ctobssim unit test.

Showing 1 changed file with 2 additions and 2 deletions
test/test_ctobssim.py
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 # ========================================================================== 2 # ==========================================================================
3 # This scripts performs unit tests for the ctobssim tool. 3 # This scripts performs unit tests for the ctobssim tool.
4 # 4 #
5 -# Copyright (C) 2014 Juergen Knoedlseder 5 +# Copyright (C) 2014-2016 Juergen Knoedlseder
6 # 6 #
7 # This program is free software: you can redistribute it and/or modify 7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by 8 # it under the terms of the GNU General Public License as published by
@@ -97,7 +97,7 @@ class Test(gammalib.GPythonTestSuite): @@ -97,7 +97,7 @@ class Test(gammalib.GPythonTestSuite):
97 self.test_value(obs.livetime(), 1710.0, 1.0e-6, "Livetime is not 1710 sec") 97 self.test_value(obs.livetime(), 1710.0, 1.0e-6, "Livetime is not 1710 sec")
98 self.test_value(pnt.dir().ra_deg(), 83.63, 1.0e-6, "ROI Right Ascension is not 83.63 deg") 98 self.test_value(pnt.dir().ra_deg(), 83.63, 1.0e-6, "ROI Right Ascension is not 83.63 deg")
99 self.test_value(pnt.dir().dec_deg(), 22.01, 1.0e-6, "ROI Declination is not 22.01 deg") 99 self.test_value(pnt.dir().dec_deg(), 22.01, 1.0e-6, "ROI Declination is not 22.01 deg")
100 - self.test_value(evt.size(), 4134, "Number of events is not 4134") 100 + self.test_value(evt.size(), 4119, "Number of events is not 4119")
101 101
102 # Save events 102 # Save events
103 self.test_try("Save events") 103 self.test_try("Save events")