plectrum

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 01ad676c744c69681f8f4ac3185f1f2f5d0c0c0a
parent 8e9069299a95dd5ab94bc22ab2759296ed3a9810
Author: gstraube <gstraube@mailbox.org>
Date:   Sat, 12 Aug 2017 18:27:29 +0200

Check that close match is displayed correctly

Diffstat:
Mapp/src/androidTest/java/com/github/cythara/TunerViewTest.java | 5+++++
Aapp/src/main/res/drawable/close.png | 0
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/app/src/androidTest/java/com/github/cythara/TunerViewTest.java b/app/src/androidTest/java/com/github/cythara/TunerViewTest.java @@ -44,6 +44,11 @@ public class TunerViewTest { } @Test + public void close_match_is_displayed_correctly() throws IOException { + isDisplayedCorrectly(R.drawable.close, new PitchDifference(Note.G3, 2.4)); + } + + @Test public void exact_deviations_are_displayed_correctly() throws IOException { Map<Integer, Integer> deviationToReferenceId = new HashMap<>(); diff --git a/app/src/main/res/drawable/close.png b/app/src/main/res/drawable/close.png Binary files differ.