Report for lv.id.jc.workscope.ZoneTest


Summary:

Created on Tue Oct 25 14:34:33 UTC 2022 by runner
Executed features Passed Failures Errors Skipped Success rate Time
2 2 0 0 0 100.0% 0.005 seconds
Zone of work
class representing the work area

Features:

should accurately calculate the work area of the zone Return
(0)
Given:
totalSurface.area() >> totalArea
apertures.area() >> aperturesArea
When:
def zone = new Zone(expenses, totalSurface, apertures)
Then:
zone.area() == expectedArea
Examples:
totalArea aperturesArea expectedArea
100 0 100 OK (0)
100 20 80 OK (0)
99.09 2.01 97.08 OK (0)
3/3 passed
should calculate the expenses for the zone Return
(0)
Given:
expenses.apply(_ as Surface) >> totalBills
When:
def zone = new Zone(expenses, totalSurface, apertures)
Then:
zone.bill() == totalBills
Examples:
totalBills
100 OK (0)
1/1 passed