public EvaluetionMethodInfo(EvaluetionMethod evaluetionMethod, float lowerLimit,
                             float higherLimit, float step)
 {
     this.evaluetionMethod = evaluetionMethod;
     this.lowerLimit = lowerLimit;
     this.higherLimit = higherLimit;
     this.step = step;
 }
 public void EvaluetionMethodInfoConstructorTest()
 {
     EvaluetionMethod evaluetionMethod = new EvaluetionMethod(); // TODO: Initialize to an appropriate value
     float lowerLimit = 0F; // TODO: Initialize to an appropriate value
     float higherLimit = 0F; // TODO: Initialize to an appropriate value
     float step = 0F; // TODO: Initialize to an appropriate value
     EvaluetionMethodInfo target = new EvaluetionMethodInfo(evaluetionMethod, lowerLimit, higherLimit, step);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
 public void getHigherLimitTest()
 {
     EvaluetionMethod evaluetionMethod = new EvaluetionMethod(); // TODO: Initialize to an appropriate value
     float lowerLimit = 0F; // TODO: Initialize to an appropriate value
     float higherLimit = 0F; // TODO: Initialize to an appropriate value
     float step = 0F; // TODO: Initialize to an appropriate value
     EvaluetionMethodInfo target = new EvaluetionMethodInfo(evaluetionMethod, lowerLimit, higherLimit, step); // TODO: Initialize to an appropriate value
     float expected = 0F; // TODO: Initialize to an appropriate value
     float actual;
     actual = target.getHigherLimit();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Beispiel #4
0
 public void setEvaluetionMethodInfo(EvaluetionMethod evaluetionMethod,
                                     float lowerLimit, float higherLimit, float step)
 {
     evaluetionMethodInfo = new EvaluetionMethodInfo(evaluetionMethod, lowerLimit,
                                                     higherLimit, step);
 }
Beispiel #5
0
 public void setEvaluetionMethodInfoTest()
 {
     string login = string.Empty; // TODO: Initialize to an appropriate value
     string password = string.Empty; // TODO: Initialize to an appropriate value
     string name = string.Empty; // TODO: Initialize to an appropriate value
     User target = new User(login, password, name); // TODO: Initialize to an appropriate value
     EvaluetionMethod evaluetionMethod = new EvaluetionMethod(); // TODO: Initialize to an appropriate value
     float lowerLimit = 0F; // TODO: Initialize to an appropriate value
     float higherLimit = 0F; // TODO: Initialize to an appropriate value
     float step = 0F; // TODO: Initialize to an appropriate value
     target.setEvaluetionMethodInfo(evaluetionMethod, lowerLimit, higherLimit, step);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }