-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from woonstadrotterdam/chore/pytest-coverage
extra tests
- Loading branch information
Showing
11 changed files
with
714 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
tests/data/onzelfstandige_woonruimten/stelselgroepen/buitenruimten/input/maximering.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"ruimten": [ | ||
{ | ||
"id": "Space_1", | ||
"soort": { | ||
"code": "BTR", | ||
"naam": "Buitenruimte" | ||
}, | ||
"detailSoort": { | ||
"code": "TUI", | ||
"naam": "Tuin" | ||
}, | ||
"naam": "Tuin", | ||
"inhoud": 14.4272, | ||
"oppervlakte": 30, | ||
"lengte": 6, | ||
"breedte": 5, | ||
"verwarmd": false, | ||
"gemeenschappelijk": true, | ||
"gedeeldMetAantalOnzelfstandigeWoonruimten": 2 | ||
}, | ||
{ | ||
"id": "Space_5", | ||
"soort": { | ||
"code": "GEM", | ||
"naam": "Gemeenschappelijke ruimten en voorzieningen" | ||
}, | ||
"detailSoort": { | ||
"code": "BAL", | ||
"naam": "Balkon" | ||
}, | ||
"naam": "Balkon", | ||
"inhoud": 14.4272, | ||
"oppervlakte": 15, | ||
"verwarmd": false, | ||
"gemeenschappelijk": true, | ||
"lengte": 5, | ||
"breedte": 3, | ||
"gedeeldMetAantalOnzelfstandigeWoonruimten": 2 | ||
} | ||
] | ||
} |
65 changes: 65 additions & 0 deletions
65
tests/data/onzelfstandige_woonruimten/stelselgroepen/buitenruimten/output/maximering.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"groepen": [ | ||
{ | ||
"criteriumGroep": { | ||
"stelsel": { | ||
"code": "ONZ", | ||
"naam": "Onzelfstandige woonruimten" | ||
}, | ||
"stelselgroep": { | ||
"code": "BUI", | ||
"naam": "Buitenruimten" | ||
} | ||
}, | ||
"punten": 15.0, | ||
"woningwaarderingen": [ | ||
{ | ||
"aantal": 30.0, | ||
"criterium": { | ||
"naam": "Tuin", | ||
"bovenliggendeCriterium": { | ||
"id": "buitenruimten_gedeeld_met_2_onzelfstandige_woonruimten" | ||
}, | ||
"meeteenheid": { | ||
"code": "M2", | ||
"naam": "Vierkante meter, m2" | ||
} | ||
}, | ||
"punten": 11.25 | ||
}, | ||
{ | ||
"aantal": 15.0, | ||
"criterium": { | ||
"naam": "Balkon", | ||
"bovenliggendeCriterium": { | ||
"id": "buitenruimten_gedeeld_met_2_onzelfstandige_woonruimten" | ||
}, | ||
"meeteenheid": { | ||
"code": "M2", | ||
"naam": "Vierkante meter, m2" | ||
} | ||
}, | ||
"punten": 5.625 | ||
}, | ||
{ | ||
"aantal": 45.0, | ||
"criterium": { | ||
"id": "buitenruimten_gedeeld_met_2_onzelfstandige_woonruimten", | ||
"naam": "Totaal (gedeeld met 2 onzelfstandige woonruimten)", | ||
"meeteenheid": { | ||
"code": "M2", | ||
"naam": "Vierkante meter, m2" | ||
} | ||
}, | ||
"punten": 16.875 | ||
}, | ||
{ | ||
"criterium": { | ||
"naam": "Maximaal 15 punten" | ||
}, | ||
"punten": -1.875 | ||
} | ||
] | ||
} | ||
] | ||
} |
40 changes: 40 additions & 0 deletions
40
tests/data/zelfstandige_woonruimten/stelselgroepen/buitenruimten/input/maximering.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"ruimten": [ | ||
{ | ||
"id": "Space_1", | ||
"soort": { | ||
"code": "BTR", | ||
"naam": "Buitenruimte" | ||
}, | ||
"detailSoort": { | ||
"code": "TUI", | ||
"naam": "Tuin" | ||
}, | ||
"naam": "Tuin", | ||
"inhoud": 14.4272, | ||
"oppervlakte": 30, | ||
"lengte": 6, | ||
"breedte": 5, | ||
"verwarmd": false, | ||
"gemeenschappelijk": true | ||
}, | ||
{ | ||
"id": "Space_5", | ||
"soort": { | ||
"code": "GEM", | ||
"naam": "Gemeenschappelijke ruimten en voorzieningen" | ||
}, | ||
"detailSoort": { | ||
"code": "BAL", | ||
"naam": "Balkon" | ||
}, | ||
"naam": "Balkon", | ||
"inhoud": 14.4272, | ||
"oppervlakte": 15, | ||
"verwarmd": false, | ||
"gemeenschappelijk": true, | ||
"lengte": 5, | ||
"breedte": 3 | ||
} | ||
] | ||
} |
74 changes: 74 additions & 0 deletions
74
tests/data/zelfstandige_woonruimten/stelselgroepen/buitenruimten/output/maximering.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"groepen": [ | ||
{ | ||
"criteriumGroep": { | ||
"stelsel": { | ||
"code": "ZEL", | ||
"naam": "Zelfstandige woonruimten" | ||
}, | ||
"stelselgroep": { | ||
"code": "BUI", | ||
"naam": "Buitenruimten" | ||
} | ||
}, | ||
"punten": 15.0, | ||
"woningwaarderingen": [ | ||
{ | ||
"aantal": 30.0, | ||
"criterium": { | ||
"naam": "Tuin", | ||
"bovenliggendeCriterium": { | ||
"id": "buitenruimten_prive" | ||
}, | ||
"meeteenheid": { | ||
"code": "M2", | ||
"naam": "Vierkante meter, m2" | ||
} | ||
}, | ||
"punten": 10.5 | ||
}, | ||
{ | ||
"aantal": 15.0, | ||
"criterium": { | ||
"naam": "Balkon", | ||
"bovenliggendeCriterium": { | ||
"id": "buitenruimten_prive" | ||
}, | ||
"meeteenheid": { | ||
"code": "M2", | ||
"naam": "Vierkante meter, m2" | ||
} | ||
}, | ||
"punten": 5.25 | ||
}, | ||
{ | ||
"criterium": { | ||
"naam": "Buitenruimten aanwezig", | ||
"bovenliggendeCriterium": { | ||
"id": "buitenruimten_prive" | ||
} | ||
}, | ||
"punten": 2.0 | ||
}, | ||
{ | ||
"aantal": 45.0, | ||
"criterium": { | ||
"id": "buitenruimten_prive", | ||
"naam": "Totaal (privé)", | ||
"meeteenheid": { | ||
"code": "M2", | ||
"naam": "Vierkante meter, m2" | ||
} | ||
}, | ||
"punten": 17.75 | ||
}, | ||
{ | ||
"criterium": { | ||
"naam": "Maximaal 15 punten" | ||
}, | ||
"punten": -2.75 | ||
} | ||
] | ||
} | ||
] | ||
} |
49 changes: 49 additions & 0 deletions
49
...dige_woonruimten/stelselgroepen/keuken/input/2_aanrechten_waarvan_1_geen_detailsoort.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"id": "keuken1", | ||
"ruimten": [ | ||
{ | ||
"id": "keuken", | ||
"soort": { | ||
"code": "VTK", | ||
"naam": "Vertrek" | ||
}, | ||
"detailSoort": { | ||
"code": "KEU", | ||
"naam": "Keuken" | ||
}, | ||
"naam": "Keuken", | ||
"inhoud": 24.8469, | ||
"oppervlakte": 9.5565, | ||
"verwarmd": true, | ||
"afsluitbaar": true, | ||
"bouwkundigeElementen": [ | ||
{ | ||
"id": "aanrecht_1", | ||
"id_bimmodel": "1xBRbJ4wfBAhSRsKl9Fn1h", | ||
"naam": "Aanrecht", | ||
"omschrijving": "Aanrecht in Keuken", | ||
"soort": { | ||
"code": "KEU", | ||
"naam": "Keuken voorziening" | ||
}, | ||
"detailSoort": { | ||
"code": "AAN", | ||
"naam": "Aanrecht" | ||
}, | ||
"lengte": 2000 | ||
}, | ||
{ | ||
"id": "aanrecht_2", | ||
"id_bimmodel": "1xBRbJ4wfBAhSRsKl9Fn1h", | ||
"naam": "Aanrecht", | ||
"omschrijving": "Aanrecht in Keuken", | ||
"soort": { | ||
"code": "KEU", | ||
"naam": "Keuken voorziening" | ||
}, | ||
"lengte": 2000 | ||
} | ||
] | ||
} | ||
] | ||
} |
52 changes: 52 additions & 0 deletions
52
...fstandige_woonruimten/stelselgroepen/keuken/input/2_aanrechten_waarvan_1_geen_lengte.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"id": "keuken1", | ||
"ruimten": [ | ||
{ | ||
"id": "keuken", | ||
"soort": { | ||
"code": "VTK", | ||
"naam": "Vertrek" | ||
}, | ||
"detailSoort": { | ||
"code": "KEU", | ||
"naam": "Keuken" | ||
}, | ||
"naam": "Keuken", | ||
"inhoud": 24.8469, | ||
"oppervlakte": 9.5565, | ||
"verwarmd": true, | ||
"afsluitbaar": true, | ||
"bouwkundigeElementen": [ | ||
{ | ||
"id": "aanrecht_1", | ||
"id_bimmodel": "1xBRbJ4wfBAhSRsKl9Fn1h", | ||
"naam": "Aanrecht", | ||
"omschrijving": "Aanrecht in Keuken", | ||
"soort": { | ||
"code": "KEU", | ||
"naam": "Keuken voorziening" | ||
}, | ||
"detailSoort": { | ||
"code": "AAN", | ||
"naam": "Aanrecht" | ||
}, | ||
"lengte": 2000 | ||
}, | ||
{ | ||
"id": "aanrecht_2", | ||
"id_bimmodel": "1xBRbJ4wfBAhSRsKl9Fn1h", | ||
"naam": "Aanrecht", | ||
"omschrijving": "Aanrecht in Keuken", | ||
"soort": { | ||
"code": "KEU", | ||
"naam": "Keuken voorziening" | ||
}, | ||
"detailSoort": { | ||
"code": "AAN", | ||
"naam": "Aanrecht" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
30 changes: 30 additions & 0 deletions
30
...ige_woonruimten/stelselgroepen/keuken/output/2_aanrechten_waarvan_1_geen_detailsoort.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"groepen": [ | ||
{ | ||
"criteriumGroep": { | ||
"stelsel": { | ||
"code": "ZEL", | ||
"naam": "Zelfstandige woonruimten" | ||
}, | ||
"stelselgroep": { | ||
"code": "KEU", | ||
"naam": "Keuken" | ||
} | ||
}, | ||
"punten": 7.0, | ||
"woningwaarderingen": [ | ||
{ | ||
"aantal": 2000.0, | ||
"criterium": { | ||
"naam": "Keuken: Lengte aanrecht", | ||
"meeteenheid": { | ||
"code": "MIL", | ||
"naam": "Millimeter" | ||
} | ||
}, | ||
"punten": 7.0 | ||
} | ||
] | ||
} | ||
] | ||
} |
30 changes: 30 additions & 0 deletions
30
...standige_woonruimten/stelselgroepen/keuken/output/2_aanrechten_waarvan_1_geen_lengte.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"groepen": [ | ||
{ | ||
"criteriumGroep": { | ||
"stelsel": { | ||
"code": "ZEL", | ||
"naam": "Zelfstandige woonruimten" | ||
}, | ||
"stelselgroep": { | ||
"code": "KEU", | ||
"naam": "Keuken" | ||
} | ||
}, | ||
"punten": 7.0, | ||
"woningwaarderingen": [ | ||
{ | ||
"aantal": 2000.0, | ||
"criterium": { | ||
"naam": "Keuken: Lengte aanrecht", | ||
"meeteenheid": { | ||
"code": "MIL", | ||
"naam": "Millimeter" | ||
} | ||
}, | ||
"punten": 7.0 | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.