From da9570da65e5ed3d02f6993f36c37a90834101af Mon Sep 17 00:00:00 2001 From: GitBluub Date: Wed, 22 Mar 2023 16:27:41 +0900 Subject: [PATCH] almost perfect play test --- scorometer/tests/almost_perfect_play/input | 21 +++++++++++++++++++++ scorometer/tests/almost_perfect_play/output | 10 ++++++++++ 2 files changed, 31 insertions(+) create mode 100644 scorometer/tests/almost_perfect_play/input create mode 100644 scorometer/tests/almost_perfect_play/output diff --git a/scorometer/tests/almost_perfect_play/input b/scorometer/tests/almost_perfect_play/input new file mode 100644 index 0000000..321620c --- /dev/null +++ b/scorometer/tests/almost_perfect_play/input @@ -0,0 +1,21 @@ +{"type":"start", "id": 1, "mode": "normal", "user_id": 1} +{"type": "note_on", "id": 2, "time": 3750, "note": 67} +{"type": "note_off", "id": 2, "time": 3980, "note": 67} +{"type": "note_on", "id": 3, "time": 4000, "note": 62} +{"type": "note_off", "id": 3, "time": 4240, "note": 62} +{"type": "note_on", "id": 4, "time": 4000, "note": 64} +{"type": "note_off", "id": 4, "time": 4240, "note": 64} +{"type": "note_on", "id": 5, "time": 4000, "note": 60} +{"type": "note_off", "id": 5, "time": 4240, "note": 60} +{"type": "note_on", "id": 6, "time": 4500, "note": 63} +{"type": "note_off", "id": 6, "time": 4740, "note": 63} +{"type": "note_on", "id": 7, "time": 4750, "note": 63} +{"type": "note_off", "id": 7, "time": 4980, "note": 63} +{"type": "note_on", "id": 8, "time": 5000, "note": 63} +{"type": "note_off", "id": 8, "time": 5990, "note": 63} +{"type": "note_on", "id": 9, "time": 6500, "note": 62} +{"type": "note_off", "id": 9, "time": 6990, "note": 62} +{"type": "note_on", "id": 10, "time": 6750, "note": 60} +{"type": "note_off", "id": 10, "time": 7240, "note": 60} +{} + diff --git a/scorometer/tests/almost_perfect_play/output b/scorometer/tests/almost_perfect_play/output new file mode 100644 index 0000000..bf3a024 --- /dev/null +++ b/scorometer/tests/almost_perfect_play/output @@ -0,0 +1,10 @@ +{"id": 2, "timingScore": "perfect", "timingInformation": "perfect"} +{"id": 3, "timingScore": "perfect", "timingInformation": "perfect"} +{"id": 4, "timingScore": "perfect", "timingInformation": "perfect"} +{"id": 5, "timingScore": "perfect", "timingInformation": "perfect"} +{"id": 6, "timingScore": "perfect", "timingInformation": "perfect"} +{"id": 7, "timingScore": "perfect", "timingInformation": "perfect"} +{"id": 8, "timingScore": "perfect", "timingInformation": "perfect"} +{"id": 9, "timingScore": "perfect", "timingInformation": "perfect"} +{"id": 10, "timingScore": "perfect", "timingInformation": "perfect"} +{"overallScore": 900, "score": {}}