def test_create_complete(self):
     predictionmodel = PredictionModel(self.minimum_data)
     predictionmodel.add_custom_data(self.additional_data)
     eq_('alias/project', predictionmodel.project)
     eq_('mymodel', predictionmodel.name)
     eq_('active', predictionmodel.status)
     eq_(30, predictionmodel.interval)
     eq_(4.533, predictionmodel.mean)
     eq_([4.5, 3, 5], predictionmodel.cov)
예제 #2
0
 def test_create_complete(self):
     predictionmodel = PredictionModel(self.minimum_data)
     predictionmodel.add_custom_data(self.additional_data)
     eq_('alias/project', predictionmodel.project)
     eq_('mymodel', predictionmodel.name)
     eq_('active', predictionmodel.status)
     eq_(30, predictionmodel.interval)
     eq_(4.533, predictionmodel.mean)
     eq_([4.5, 3, 5], predictionmodel.cov)
 def test_to_primitive(self):
     predictionmodel = PredictionModel(self.minimum_data)
     predictionmodel.add_custom_data(self.additional_data)
     primitive = predictionmodel.to_primitive()
 def test_validate_complete_data(self):
     predictionmodel = PredictionModel(self.minimum_data)
     predictionmodel.add_custom_data(self.additional_data)
     predictionmodel.validate()
예제 #5
0
 def test_to_primitive(self):
     predictionmodel = PredictionModel(self.minimum_data)
     predictionmodel.add_custom_data(self.additional_data)
     primitive = predictionmodel.to_primitive()
예제 #6
0
 def test_validate_complete_data(self):
     predictionmodel = PredictionModel(self.minimum_data)
     predictionmodel.add_custom_data(self.additional_data)
     predictionmodel.validate()