ajout du début de l'implémentation de HtmlGenerator
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package src.fr.test;
|
||||
|
||||
import java.util.Set;
|
||||
import java.io.IOException;
|
||||
import java.util.HashSet;
|
||||
|
||||
|
||||
@@ -137,4 +138,24 @@ public class test_V2 {
|
||||
config1.selectPart(IS);
|
||||
assertTrue(config1.getTotalPrice()==52500);
|
||||
}
|
||||
|
||||
@Test
|
||||
void test_Config_Price_No_Complete(){
|
||||
ConfigurationImpl config1 = new ConfigurationImpl(cm);
|
||||
config1.selectPart(EG210);
|
||||
config1.selectPart(TSF7);
|
||||
assertTrue(config1.getTotalPrice()==40000);
|
||||
}
|
||||
|
||||
@Test
|
||||
void test_html(){
|
||||
ConfigurationImpl config1 = new ConfigurationImpl(cm);
|
||||
config1.selectPart(EG210);
|
||||
config1.selectPart(TSF7);
|
||||
try {
|
||||
HtmlGenerator.generateHTML(config1);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user