def test_GenerateReport(self):
     main([
         '-f', "data/data_demoGRnR.csv", "-s", "3,10,3", "-a", "0,2,1",
         "-o", 'build'
     ])
     self.assertTrue(os.path.exists('build/index.html'))
     self.assertTrue(os.path.exists('build/Operators Box Plot.html'))
     self.assertTrue(os.path.exists('build/Parts Box Plot.html'))
     self.assertFalse(os.path.exists('build/Residual Linearity Plot.html'))
     self.assertTrue(os.path.exists('build/bootstrap.min.css'))
Beispiel #2
0
 def test_GenerateReportWithGt(self):
     main(['-f', "data/data_demoGRnR.csv",
           "-s", "3,10,3",
           "-a", "0,2,1",
           "-o", 'build/gtReport',
           "-g", "40,42,30,43,29,45,27.5,42,26,35"])
     self.assertTrue(os.path.exists('build/gtReport/index.html'))
     self.assertTrue(os.path.exists('build/gtReport/Operators Box Plot.html'))
     self.assertTrue(os.path.exists('build/gtReport/Parts Box Plot.html'))
     self.assertTrue(os.path.exists('build/gtReport/Residual Linearity Plot.html'))
     self.assertTrue(os.path.exists('build/gtReport/bootstrap.min.css'))
 def test_DifferentAxes(self):
     main(['-f', "data/data_demoGRnR.csv", "-s", "3,10,3", "-a", "0,2,1"])
     self.assertTrue(True)
 def test_OkAxesArguments(self):
     main(['-f', "data/data_mXop.csv", "-s", "3,5,11", "-a", "0,1,2"])
     self.assertTrue(True)
 def test_OkArguments(self):
     main(['-f', "data/data_mXop.csv", '-s', "3,5,11"])
     self.assertTrue(True)