| Conditions | 3 |
| Total Lines | 14 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | """ |
||
| 47 | 1 | def test(self, subtraject: Subtraject) -> bool: |
|
| 48 | """ |
||
| 49 | Test of een subtraject voldoet aan de voorwaarden van deze attribuutgroep. |
||
| 50 | |||
| 51 | :param Subtraject subtraject: Het subtraject. |
||
| 52 | |||
| 53 | :rtype: bool |
||
| 54 | """ |
||
| 55 | 1 | aantal = 0 |
|
| 56 | 1 | for koppeling in self._koppelingen: |
|
| 57 | 1 | if koppeling.test(subtraject): |
|
| 58 | 1 | aantal += 1 |
|
| 59 | |||
| 60 | 1 | return aantal >= self._aantal_voorwaarden_voor_true |
|
| 61 | |||
| 63 |