Added comments

This commit is contained in:
Batuhan Berk Başoğlu 2018-11-16 12:30:21 -05:00
parent c44539c59d
commit a2ff9fc82c
3 changed files with 7 additions and 24 deletions

View file

@ -8,6 +8,9 @@ public class ServiceProviderTest2 {
ServiceProvider serviceprovider = new ServiceProvider("John123", "1234567890", "John", "Doe",
"testaddress", "8888888888", "companydotcom", true);
/**
* sets availabilities and tests them.
*/
@Test
public void testAvailabilities() {
int [][] availability = new int[7][4];
@ -20,6 +23,10 @@ public class ServiceProviderTest2 {
assertEquals( availability, serviceprovider.getAvailabilities());
}
/**
* Tests other instances and checks if they are correct
*
*/
@Test
public void testOtherInstances() {
assertEquals( "testaddress", serviceprovider.getAddress() );