Esempio n. 1
0
 def test_runSimulationTranslated(self):
     '''
     Tests the :mod:`buildingspy/examples/dymola/runSimulationTranslated`
     function.
     '''
     import buildingspy.examples.dymola.runSimulationTranslated as s
     s.main()
Esempio n. 2
0
 def test_runSimulationTranslated(self):
     '''
     Tests the :mod:`buildingspy/examples/dymola/runSimulationTranslated`
     function.
     '''
     import buildingspy.examples.dymola.runSimulationTranslated as s
     s.main()
 def test_runSimulation(self):
     """
     Tests the :mod:`buildingspy/examples/dymola/runSimulation`
     function.
     """
     import os
     import buildingspy.examples.dymola.runSimulation as s
     s.main()
 def test_runSimulation(self):
     """
     Tests the :mod:`buildingspy/examples/dymola/runSimulation`
     function.
     """
     import os
     import buildingspy.examples.dymola.runSimulation as s
     os.chdir("Buildings")
     s.main()
     os.chdir("..")
Esempio n. 5
0
 def test_plotResult(self):
     '''
     Tests the :mod:`buildingspy/examples/dymola/plotResult`
     function.
     '''
     import os
     import buildingspy.examples.dymola.plotResult as s
     s.main()
     # Remove the generated plot files
     os.remove("plot.pdf")
     os.remove("plot.png")
Esempio n. 6
0
 def test_plotResult(self):
     """
     Tests the :mod:`buildingspy/examples/dymola/plotResult`
     function.
     """
     import os
     import buildingspy.examples.dymola.plotResult as s
     s.main()
     # Remove the generated plot files
     os.remove("plot.pdf")
     os.remove("plot.png")
 def test_runSimulation(self):
     '''
     Tests the :mod:`buildingspy/examples/dymola/runSimulation`
     module.
     '''
     import shutil
     import buildingspy.examples.dymola.runSimulation as s
     s.main()
     # Delete output directories
     shutil.rmtree('case1')
     shutil.rmtree('case2')
 def test_runSimulation(self):
     '''
     Tests the :mod:`buildingspy/examples/dymola/runSimulation`
     module.
     '''
     import shutil
     import buildingspy.examples.dymola.runSimulation as s
     s.main()
     # Delete output directories
     shutil.rmtree('case1')
     shutil.rmtree('case2')
    def test_runSimulation(self):
        '''
        Tests the :mod:`buildingspy/examples/dymola/runSimulation`
        function.
        '''
        import os
        import buildingspy.examples.dymola.runSimulation as s

        os.chdir("Buildings")
        s.main()
        os.chdir("..")