More typeface updates
BIN
rectangle0.png
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 8.4 KiB |
BIN
rectangle1.png
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 7.9 KiB |
BIN
rectangle2.png
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 6.3 KiB |
BIN
rectangle3.png
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.8 KiB |
BIN
rectangle4.png
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) {
|
for (String s : str) {
|
||||||
FTsongs.add(new SongData(s));
|
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("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("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);
|
RunTest("16 -out of the gravity-.jpg",554,45,1,0,1,101.36f,false,"EX","HS",339,606780);
|
||||||
@ -216,7 +217,7 @@ public class DemoApplication {
|
|||||||
|
|
||||||
song = getCorrectSongName(song);
|
song = getCorrectSongName(song);
|
||||||
_song = getCorrectSongName(_song);
|
_song = getCorrectSongName(_song);
|
||||||
|
try {
|
||||||
Assert.isTrue(song.equalsIgnoreCase(_song),"Expected song name to be "+_song+", got "+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.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.fine == _fine,"Expected fine count to be "+_fine+", got "+r.fine);
|
||||||
@ -230,6 +231,14 @@ public class DemoApplication {
|
|||||||
Assert.isTrue(r.difficulty.equalsIgnoreCase(_difficulty),"Expected difficulty to be "+_difficulty+", got "+r.difficulty);
|
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);
|
Assert.isTrue(_mod.equalsIgnoreCase(r.mod),"Expected mod to be "+_mod+", got "+r.mod);
|
||||||
System.out.println(" Passed ("+(System.currentTimeMillis()-startTime)+"ms)!");
|
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
|
static void RunTest(String _img,int _cool,int _fine, int _safe, int _sad, int _worst, float _percent,boolean _fail,String _difficulty,String _mod
|
||||||
|
BIN
testsuite/test6.png
Normal file
After Width: | Height: | Size: 588 KiB |
BIN
typeface.png
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |