diff --git a/tests/jsons/stable/not-on-panic/expected.json b/tests/jsons/stable/not-on-panic/expected.json new file mode 100644 index 00000000..97459425 --- /dev/null +++ b/tests/jsons/stable/not-on-panic/expected.json @@ -0,0 +1,34 @@ +{ + "scheduled": [ + { + "day": "2022-01-01", + "tasks": [ + { + "taskid": 0, + "goalid": "free", + "title": "free", + "duration": 11, + "start": "2022-01-01T00:00:00", + "deadline": "2022-01-01T11:00:00" + }, + { + "taskid": 1, + "goalid": "1", + "title": "shopping", + "duration": 1, + "start": "2022-01-01T11:00:00", + "deadline": "2022-01-01T12:00:00" + }, + { + "taskid": 2, + "goalid": "free", + "title": "free", + "duration": 12, + "start": "2022-01-01T12:00:00", + "deadline": "2022-01-02T00:00:00" + } + ] + } + ], + "impossible": [] +} \ No newline at end of file diff --git a/tests/jsons/stable/not-on-panic/input.json b/tests/jsons/stable/not-on-panic/input.json new file mode 100644 index 00000000..25511a71 --- /dev/null +++ b/tests/jsons/stable/not-on-panic/input.json @@ -0,0 +1,23 @@ +{ + "startDate": "2024-07-20T00:00:00", + "endDate": "2024-07-27T00:00:00", + "goals": [ + { + "id": "da66aeab-4d6d-46d7-8117-4240895e7044", + "title": "A Goal for which Tasks were postponed", + "createdAt": 1711689651172, + "minDuration": 1, + "notOn": [ + { + "start": "2024-05-28T09:00:00", + "end": "2024-05-29T09:00:00" + }, + { + "start": "2024-05-29T09:00:00", + "end": "2024-05-30T09:00:00" + } + ] + } + ], + "tasksCompletedToday": [] +} \ No newline at end of file diff --git a/tests/jsons/stable/not-on-panic/observed.json b/tests/jsons/stable/not-on-panic/observed.json new file mode 100644 index 00000000..97459425 --- /dev/null +++ b/tests/jsons/stable/not-on-panic/observed.json @@ -0,0 +1,34 @@ +{ + "scheduled": [ + { + "day": "2022-01-01", + "tasks": [ + { + "taskid": 0, + "goalid": "free", + "title": "free", + "duration": 11, + "start": "2022-01-01T00:00:00", + "deadline": "2022-01-01T11:00:00" + }, + { + "taskid": 1, + "goalid": "1", + "title": "shopping", + "duration": 1, + "start": "2022-01-01T11:00:00", + "deadline": "2022-01-01T12:00:00" + }, + { + "taskid": 2, + "goalid": "free", + "title": "free", + "duration": 12, + "start": "2022-01-01T12:00:00", + "deadline": "2022-01-02T00:00:00" + } + ] + } + ], + "impossible": [] +} \ No newline at end of file