From 4985843f8f8589e7c31441ccf7e776d303a069ef Mon Sep 17 00:00:00 2001 From: Robert Bendun Date: Sun, 29 May 2022 03:01:17 +0200 Subject: [PATCH] More tests for note resolution --- src/tests/value.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/tests/value.cc b/src/tests/value.cc index 3a35b7d..32a451f 100644 --- a/src/tests/value.cc +++ b/src/tests/value.cc @@ -132,6 +132,24 @@ suite value_test = [] { test_note_resolution("cs", 61); test_note_resolution("cf", 59); test_note_resolution("cb", 59); + + test_note_resolution("c##", 62); + test_note_resolution("css", 62); + test_note_resolution("cff", 58); + test_note_resolution("cbb", 58); + + test_note_resolution("cs#", 62); + test_note_resolution("c#s", 62); + test_note_resolution("cbf", 58); + test_note_resolution("cfb", 58); + + test_note_resolution("c#b", 60); + test_note_resolution("cb#", 60); + test_note_resolution("cfs", 60); + test_note_resolution("csf", 60); + + test_note_resolution("c##########", 70); + test_note_resolution("cbbbbbbbbbb", 50); }; }; };