|
|
|
|
35
|
* `ChickenCoop` stores many `Chicken`
|
35
|
* `ChickenCoop` stores many `Chicken`
|
36
|
* `Farm` stores many `Stable`, many `DogHouse`, and a single `FarmHouse`
|
36
|
* `Farm` stores many `Stable`, many `DogHouse`, and a single `FarmHouse`
|
37
|
|
37
|
|
|
|
38
|
+# Establishing The Plot
|
38
|
|
39
|
|
39
|
* `Froilan`, a `Farmer` has a `Farm` consisting of
|
40
|
* `Froilan`, a `Farmer` has a `Farm` consisting of
|
40
|
* 1 `Field` of 5 `CropRow`.
|
41
|
* 1 `Field` of 5 `CropRow`.
|
|
|
|
|
50
|
* His sister, `Froilanda`, is a `Pilot` who uses a `CropDuster`.
|
51
|
* His sister, `Froilanda`, is a `Pilot` who uses a `CropDuster`.
|
51
|
|
52
|
|
52
|
|
53
|
|
|
|
54
|
+
|
53
|
# The Plot Thickens...
|
55
|
# The Plot Thickens...
|
54
|
-* Create a separate Test class for each day in the following scenario...
|
|
|
|
|
56
|
+* Create a test cases which simulate a typical work-week for `Froilan` and `Froilanda`.
|
|
|
57
|
+ * The accumulation of your test cases should ensure at least 80% test coverage.
|
|
|
58
|
+
|
|
|
59
|
+* The first few weekdays have already been considered for you.
|
|
|
60
|
+* Create a separate Test class for each day in the following scenario.
|
55
|
* As a farmer, Froilan must stick to a rigorous agricultural routine.
|
61
|
* As a farmer, Froilan must stick to a rigorous agricultural routine.
|
56
|
* Every morning, `Froilan` and `Froilanda` begin their morning by
|
62
|
* Every morning, `Froilan` and `Froilanda` begin their morning by
|
57
|
* Riding each `Horse` in each `Stable`.
|
63
|
* Riding each `Horse` in each `Stable`.
|