AKSolverInterface.tests.test_json_export module
- class AKSolverInterface.tests.test_json_export.JSONExportTest(methodName='runTest')[source]
Bases:
TestCase
Test if JSON export is correct.
It tests if the output conforms to the KoMa specification: https://github.com/Die-KoMa/ak-plan-optimierung/wiki/Input-&-output-format
- test_general_conformity_to_spec()[source]
Test if rest of JSON structure and types conform to standard.
- test_room_fulfilledroomconstraints()[source]
Test if room constraints fulfilled by Room are correct.
- test_timeslots_consecutive()[source]
Test if consecutive timeslots in JSON are in fact consecutive.
- test_block_cover_categories()[source]
Test if blocks covers all default slot resp. whole event per category.
- test_timeslot_fulfilledconstraints()[source]
Test if fulfilled time constraints by timeslot are as expected.
- test_participant_timeconstraints()[source]
Test if participant time constraints are exported as expected.