-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathManagementCompanyTestSTUDENT.java
More file actions
47 lines (33 loc) · 1.05 KB
/
ManagementCompanyTestSTUDENT.java
File metadata and controls
47 lines (33 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package application;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class ManagementCompanyTestSTUDENT {
@Before
public void setUp() throws Exception {
//student create a management company
//student add three properties, with plots, to mgmt co
}
@After
public void tearDown() {
//student set mgmt co to null
}
@Test
public void testAddPropertyDefaultPlot() {
fail("STUDENT test not implemented yet");
//student should add property with 4 args & default plot (0,0,1,1)
//student should add property with 8 args
//student should add property that exceeds the size of the mgmt co array and can not be added, add property should return -1
}
@Test
public void testMaxRentProp() {
fail("STUDENT test not implemented yet");
//student should test if maxRentProp contains the maximum rent of properties
}
@Test
public void testTotalRent() {
fail("STUDENT test not implemented yet");
//student should test if totalRent returns the total rent of properties
}
}