From 12120fb25a1a3b14ccb6bb0e883fd3650e965126 Mon Sep 17 00:00:00 2001 From: GitBluub Date: Fri, 24 Mar 2023 20:40:27 +0900 Subject: [PATCH] hold not enough test --- scorometer/tests/hold_not_enough/input | 23 +++++++++++++++++++++++ scorometer/tests/hold_not_enough/output | 11 +++++++++++ 2 files changed, 34 insertions(+) create mode 100644 scorometer/tests/hold_not_enough/input create mode 100644 scorometer/tests/hold_not_enough/output diff --git a/scorometer/tests/hold_not_enough/input b/scorometer/tests/hold_not_enough/input new file mode 100644 index 0000000..6734a27 --- /dev/null +++ b/scorometer/tests/hold_not_enough/input @@ -0,0 +1,23 @@ +{"type":"start", "id": 1, "mode": "normal", "user_id": 1} +{"type": "note_on", "id": 1, "time": 3500, "note": 68} +{"type": "note_off", "id": 1, "time": 3540, "note": 68} +{"type": "note_on", "id": 2, "time": 3750, "note": 67} +{"type": "note_off", "id": 2, "time": 3780, "note": 67} +{"type": "note_on", "id": 3, "time": 4000, "note": 62} +{"type": "note_off", "id": 3, "time": 4040, "note": 62} +{"type": "note_on", "id": 4, "time": 4000, "note": 64} +{"type": "note_off", "id": 4, "time": 4040, "note": 64} +{"type": "note_on", "id": 5, "time": 4000, "note": 60} +{"type": "note_off", "id": 5, "time": 4040, "note": 60} +{"type": "note_on", "id": 6, "time": 4500, "note": 63} +{"type": "note_off", "id": 6, "time": 4540, "note": 63} +{"type": "note_on", "id": 7, "time": 4750, "note": 63} +{"type": "note_off", "id": 7, "time": 4780, "note": 63} +{"type": "note_on", "id": 8, "time": 5000, "note": 63} +{"type": "note_off", "id": 8, "time": 5290, "note": 63} +{"type": "note_on", "id": 9, "time": 6500, "note": 62} +{"type": "note_off", "id": 9, "time": 6690, "note": 62} +{"type": "note_on", "id": 10, "time": 6750, "note": 60} +{"type": "note_off", "id": 10, "time": 6840, "note": 60} +{} + diff --git a/scorometer/tests/hold_not_enough/output b/scorometer/tests/hold_not_enough/output new file mode 100644 index 0000000..f178547 --- /dev/null +++ b/scorometer/tests/hold_not_enough/output @@ -0,0 +1,11 @@ +{"id": 1, "timingScore": "good", "timingInformation": "perfect"} +{"id": 2, "timingScore": "good", "timingInformation": "perfect"} +{"id": 3, "timingScore": "good", "timingInformation": "perfect"} +{"id": 4, "timingScore": "good", "timingInformation": "perfect"} +{"id": 5, "timingScore": "good", "timingInformation": "perfect"} +{"id": 6, "timingScore": "good", "timingInformation": "perfect"} +{"id": 7, "timingScore": "good", "timingInformation": "perfect"} +{"id": 8, "timingScore": "good", "timingInformation": "perfect"} +{"id": 9, "timingScore": "good", "timingInformation": "perfect"} +{"id": 10, "timingScore": "good", "timingInformation": "perfect"} +{"overallScore": 500, "score": {}}