Add: english test

This commit is contained in:
2018-06-07 18:09:06 +09:00
parent 63bc872ee6
commit a6d79b57c6
17 changed files with 1200 additions and 11 deletions
+55 -9
View File
@@ -184,22 +184,68 @@ class TypingTest {
}
loadTestContent() {
let appName = "";
if(isTypingTestStage())
appName = sessionStorageManager.playingAppName.substring(5);
else if(isTypingPracticeStage())
appName = sessionStorageManager.playingAppName.substring(5);
else
appName = sessionStorageManager.playingAppName.substring(5);
var testContent = [];
switch(sessionStorageManager.playingAppName) {
case "test_korean_word":
case "practice_korean_word":
switch(appName) {
case "korean_basic":
testContent = koreanBasicWordList;
break;
case "korean_left_upper":
testContent = koreanLeftUpperWordList;
break;
case "korean_second_finger":
testContent = koreanSecondFingerWordList;
break;
case "korean_right_upper":
testContent = koreanRightUpperWordList;
break;
case "korean_left_lower":
testContent = koreanLeftLowerWordList;
break;
case "korean_right_lower":
testContent = koreanRightLowerWordList;
break;
case "korean_left_upper_double":
testContent = koreanLeftUpperDoubleWordList;
break;
case "korean_right_upper_double":
testContent = koreanRightUpperDoubleWordList;
break;
case "korean_word":
testContent = koreanWordList;
break;
case "test_korean_sentence":
case "practice_korean_sentence":
case "korean_sentence":
testContent = koreanSentenceList;
break;
case "test_english_word":
case "practice_english_word":
case "english_basic":
testContent = englishBasicWordList;
break;
case "english_left_upper":
testContent = englishLeftUpperWordList;
break;
case "english_second_finger":
testContent = englishSecondFingerWordList;
break;
case "english_right_upper":
testContent = englishRightUpperWordList;
break;
case "english_left_lower":
testContent = englishLeftLowerWordList;
break;
case "english_right_lower":
testContent = englishRightLowerWordList;
break;
case "english_word":
testContent = englishWordList;
break;
case "test_english_sentence":
case "practice_english_sentence":
case "english_sentence":
testContent = englishSentenceList;
break;
}
@@ -33,7 +33,6 @@ var englishSecondFingerWordList = [
"hard",
"head",
"great",
"send",
"baby",
"leg",
"whether"