add tests

empty for now.
	maybe will change the tests also
This commit is contained in:
HeshamTB 2020-11-07 14:41:55 +03:00
parent a695ead32d
commit 04d1de42cf
Signed by: Hesham
GPG Key ID: 74876157D199B09E
2 changed files with 79 additions and 0 deletions

View File

@ -4,8 +4,25 @@
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library" scope="TEST">
<library name="JUnit5.4">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter/5.4.2/junit-jupiter-5.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.4.2/junit-jupiter-api-5.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.1.1/opentest4j-1.1.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.4.2/junit-platform-commons-1.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-params/5.4.2/junit-jupiter-params-5.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.4.2/junit-jupiter-engine-5.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.4.2/junit-platform-engine-1.4.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>

62
tests/CampaignTest.java Normal file
View File

@ -0,0 +1,62 @@
import org.junit.jupiter.api.Test;
public class CampaignTest {
private Campaign campaign = new Campaign(District.ALAZIZIYA,20);
@Test
void getHousingToDestRoute() {
}
@Test
void setHousingToDestRoute() {
}
@Test
void getDestToHousingRoute() {
}
@Test
void setDestToHousingRoute() {
}
@Test
void getHotelDistrict() {
}
@Test
void getTimeToLeaveToDest() {
}
@Test
void setTimeToLeaveToDest() {
}
@Test
void getTimeToLeaveToHousing() {
}
@Test
void setTimeToLeaveToHousing() {
}
@Test
void getNumberOfBusses() {
}
@Test
void getVehicles() {
}
@Test
void setVehicles() {
}
@Test
void generateBusses() {
}
@Test
void getUID() {
}
}