More typeface updates

master
sigonasr2 4 years ago
parent ef2b02685d
commit 0b8ae49591
  1. BIN
      rectangle0.png
  2. BIN
      rectangle1.png
  3. BIN
      rectangle2.png
  4. BIN
      rectangle3.png
  5. BIN
      rectangle4.png
  6. 37
      src/main/java/com/example/demo/DemoApplication.java
  7. BIN
      testsuite/test6.png
  8. BIN
      typeface.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

@ -73,6 +73,7 @@ public class DemoApplication {
for (String s : str) {
FTsongs.add(new SongData(s));
}
RunTest("test6.png","ありふれたせかいせいふく",586,161,6,5,9,85.75f,false,"EX","",425,672452,false);
RunTest("test5.png","ZIGG-ZAGG",88,18,1,2,13,11.87f,true,"EXEX","HS",28,88935,false);
RunTest("test3.png","メルト",39,9,0,0,9,7.44f,true,"EXEX","HS",48,40040,false);
RunTest("16 -out of the gravity-.jpg",554,45,1,0,1,101.36f,false,"EX","HS",339,606780);
@ -216,20 +217,28 @@ public class DemoApplication {
song = getCorrectSongName(song);
_song = getCorrectSongName(_song);
Assert.isTrue(song.equalsIgnoreCase(_song),"Expected song name to be "+_song+", got "+song);
Assert.isTrue(r.cool == _cool,"Expected cool count to be "+_cool+", got "+r.cool);
Assert.isTrue(r.fine == _fine,"Expected fine count to be "+_fine+", got "+r.fine);
Assert.isTrue(r.safe == _safe,"Expected safe count to be "+_safe+", got "+r.safe);
Assert.isTrue(r.sad == _sad,"Expected sad count to be "+_sad+", got "+r.sad);
Assert.isTrue(r.worst == _worst,"Expected worst count to be "+_worst+", got "+r.worst);
Assert.isTrue(r.percent == _percent,"Expected percent to be "+_percent+", got "+r.percent);
Assert.isTrue(r.combo == _combo,"Expected combo to be "+_combo+", got "+r.combo);
Assert.isTrue(r.score == _score,"Expected score to be "+_score+", got "+r.score);
Assert.isTrue(r.fail == _fail,"Expected fail to be "+_fail+", got "+r.fail);
Assert.isTrue(r.difficulty.equalsIgnoreCase(_difficulty),"Expected difficulty to be "+_difficulty+", got "+r.difficulty);
Assert.isTrue(_mod.equalsIgnoreCase(r.mod),"Expected mod to be "+_mod+", got "+r.mod);
System.out.println(" Passed ("+(System.currentTimeMillis()-startTime)+"ms)!");
try {
Assert.isTrue(song.equalsIgnoreCase(_song),"Expected song name to be "+_song+", got "+song);
Assert.isTrue(r.cool == _cool,"Expected cool count to be "+_cool+", got "+r.cool);
Assert.isTrue(r.fine == _fine,"Expected fine count to be "+_fine+", got "+r.fine);
Assert.isTrue(r.safe == _safe,"Expected safe count to be "+_safe+", got "+r.safe);
Assert.isTrue(r.sad == _sad,"Expected sad count to be "+_sad+", got "+r.sad);
Assert.isTrue(r.worst == _worst,"Expected worst count to be "+_worst+", got "+r.worst);
Assert.isTrue(r.percent == _percent,"Expected percent to be "+_percent+", got "+r.percent);
Assert.isTrue(r.combo == _combo,"Expected combo to be "+_combo+", got "+r.combo);
Assert.isTrue(r.score == _score,"Expected score to be "+_score+", got "+r.score);
Assert.isTrue(r.fail == _fail,"Expected fail to be "+_fail+", got "+r.fail);
Assert.isTrue(r.difficulty.equalsIgnoreCase(_difficulty),"Expected difficulty to be "+_difficulty+", got "+r.difficulty);
Assert.isTrue(_mod.equalsIgnoreCase(r.mod),"Expected mod to be "+_mod+", got "+r.mod);
System.out.println(" Passed ("+(System.currentTimeMillis()-startTime)+"ms)!");
} catch (IllegalArgumentException e) {
e.printStackTrace();
if (!debug) {
System.err.println("Running in debug mode...");
RunTest(_img,_song,_cool,_fine,_safe,_sad,_worst,_percent,_fail,_difficulty,_mod,_combo,_score,true);
System.exit(0);
}
}
}
static void RunTest(String _img,int _cool,int _fine, int _safe, int _sad, int _worst, float _percent,boolean _fail,String _difficulty,String _mod

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Loading…
Cancel
Save