Untitled
unknown
plain_text
a year ago
841 B
3
Indexable
package elearning;
import junit.framework.*;
public class WszystkieTestyDynamicznie {
public static Test suite() {
TestSuite dynamicznie = new TestSuite(“Wszystkie dynamicznie”);
dynamicznie.addTestSuite(SumaTest.class);
dynamicznie.addTestSuite(CiagGeometrycznyTest.class);
return dynamicznie;
}
}
public class WszystkieTestyStatycznie {
public static Test suite() {
TestSuite statycznie = new TestSuite(„Wszystkie statycznie”);
statycznie.addTest(new SumaTest(„testSuma”));
statycznie.addTest(new CiagGeometrycznyTest(„testLadujDane”));
statycznie.addTest(new CiagGeometrycznyTest(„testLadujNieprawidloweDane”));
statycznie.addTest(new CiagGeometrycznyTest(„testObliczQ”));
return statycznie;
}
}Editor is loading...
Leave a Comment