plectrum

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

commit d61c73e81d2bec9bb2d362415b7794726ba5951b
parent 4cdc76472109c507d0ad4ddd79a743e7d9d2d178
Author: gstraube <gstraube@mailbox.org>
Date:   Sat, 26 Aug 2017 19:52:56 +0200

Update reference images

Diffstat:
Mapp/src/androidTest/java/com/github/cythara/TunerViewTest.java | 7+++----
Mapp/src/main/res/drawable/blank.png | 0
Mapp/src/main/res/drawable/close.png | 0
Mapp/src/main/res/drawable/exact.png | 0
Mapp/src/main/res/drawable/negative_10_cents.png | 0
Mapp/src/main/res/drawable/negative_20_cents.png | 0
Mapp/src/main/res/drawable/negative_27_32_cents.png | 0
Mapp/src/main/res/drawable/negative_30_cents.png | 0
Mapp/src/main/res/drawable/negative_6_4_cents.png | 0
Mapp/src/main/res/drawable/positive_10_cents.png | 0
Mapp/src/main/res/drawable/positive_15_41_cents.png | 0
Mapp/src/main/res/drawable/positive_20_cents.png | 0
Mapp/src/main/res/drawable/positive_29_5_cents.png | 0
Mapp/src/main/res/drawable/positive_30_cents.png | 0
Mapp/src/main/res/drawable/positive_4_7_cents.png | 0
Mapp/src/main/res/drawable/positive_5_1_cents.png | 0
16 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/app/src/androidTest/java/com/github/cythara/TunerViewTest.java b/app/src/androidTest/java/com/github/cythara/TunerViewTest.java @@ -4,7 +4,6 @@ import android.Manifest; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; -import android.graphics.drawable.Drawable; import android.os.Environment; import android.support.test.rule.ActivityTestRule; import android.support.test.rule.GrantPermissionRule; @@ -23,7 +22,7 @@ import java.util.HashMap; import java.util.Map; import static android.support.test.rule.GrantPermissionRule.grant; -import static java.lang.String.*; +import static java.lang.String.format; @RunWith(AndroidJUnit4.class) public class TunerViewTest { @@ -101,9 +100,9 @@ public class TunerViewTest { @Test public void values_outside_of_boundaries_are_not_displayed() throws IOException { isDisplayedCorrectly(R.drawable.blank, "blank", - new PitchDifference(Note.D4, 30.5)); + new PitchDifference(Note.D4, 60.5)); isDisplayedCorrectly(R.drawable.blank, "blank", - new PitchDifference(Note.D4, -30.5)); + new PitchDifference(Note.D4, -60.5)); } public void isDisplayedCorrectly(int referenceId, String fileName, diff --git a/app/src/main/res/drawable/blank.png b/app/src/main/res/drawable/blank.png Binary files differ. diff --git a/app/src/main/res/drawable/close.png b/app/src/main/res/drawable/close.png Binary files differ. diff --git a/app/src/main/res/drawable/exact.png b/app/src/main/res/drawable/exact.png Binary files differ. diff --git a/app/src/main/res/drawable/negative_10_cents.png b/app/src/main/res/drawable/negative_10_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/negative_20_cents.png b/app/src/main/res/drawable/negative_20_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/negative_27_32_cents.png b/app/src/main/res/drawable/negative_27_32_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/negative_30_cents.png b/app/src/main/res/drawable/negative_30_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/negative_6_4_cents.png b/app/src/main/res/drawable/negative_6_4_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/positive_10_cents.png b/app/src/main/res/drawable/positive_10_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/positive_15_41_cents.png b/app/src/main/res/drawable/positive_15_41_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/positive_20_cents.png b/app/src/main/res/drawable/positive_20_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/positive_29_5_cents.png b/app/src/main/res/drawable/positive_29_5_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/positive_30_cents.png b/app/src/main/res/drawable/positive_30_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/positive_4_7_cents.png b/app/src/main/res/drawable/positive_4_7_cents.png Binary files differ. diff --git a/app/src/main/res/drawable/positive_5_1_cents.png b/app/src/main/res/drawable/positive_5_1_cents.png Binary files differ.