mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-03 13:05:29 +02:00
A missing semicolon added.
This commit is contained in:
parent
6a293bd40a
commit
8e8fa24652
@ -58,15 +58,16 @@ public class LanguageUtilsTest extends TestBase {
|
||||
}
|
||||
|
||||
public void testStringTransliterateBengali() throws Exception {
|
||||
//input with cyrillic and diacritic letters
|
||||
String[] inputs = {"অনিরুদ্ধ", "বিজ্ঞানযাত্রা চলছে চলবে।", "আমি সব দেখেশুনে ক্ষেপে গিয়ে করি বাঙলায় চিৎকার!"};
|
||||
String[] outputs = {"aniruddha", "biggaanaJaatraa chalachhe chalabe.", "aami saba dekheshune kkhepe giye kari baangalaaya chitkaara!"};
|
||||
// input with cyrillic and diacritic letters
|
||||
String[] inputs = { "অনিরুদ্ধ", "বিজ্ঞানযাত্রা চলছে চলবে।", "আমি সব দেখেশুনে ক্ষেপে গিয়ে করি বাঙলায় চিৎকার!" };
|
||||
String[] outputs = { "aniruddha", "biggaanaJaatraa chalachhe chalabe.",
|
||||
"aami saba dekheshune kkhepe giye kari baangalaaya chitkaara!" };
|
||||
|
||||
String result;
|
||||
|
||||
for (int i = 0; i < inputs.length; i++) {
|
||||
result = LanguageUtils.transliterate(inputs[i])
|
||||
assertEquals("Transliteration failed", outputs[i], result);
|
||||
result = LanguageUtils.transliterate(inputs[i]);
|
||||
assertEquals("Transliteration failed", outputs[i], result);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user