# ========================================================================== # This module performs unit tests for the GammaLib model module. # # Copyright (C) 2012 Juergen Knoedlseder # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # ========================================================================== from gammalib import * from math import * import os # ==================================== # # Test class for GammaLib model module # # ==================================== # class Test(GPythonTestSuite): """ Test class for GammaLib model module. """ # Constructor def __init__(self): """ Constructor. """ # Call base class constructor GPythonTestSuite.__init__(self) # Return return # Set test functions def set(self): """ Set all test functions. """ # Set test name self.name("model") # Append tests self.append(self.test, "Model module dummy test") # Return return # Test function def test(self): """ Test function. """ # Return return