### Question:
TurkishAlphabet { public boolean equalsIgnoreDiacritics(String s1, String s2) { if (s1 == null || s2 == null) { return false; } if (s1.length() != s2.length()) { return false; } for (int i = 0; i < s1.length(); i++) { char c1 = s1.charAt(i); char c2 = s2.charAt(i); if (!isAsciiEqual(c1, c2)) { return false; } } return true; } private  TurkishAlphabet(); String toAscii(String in); String foreignDiacriticsToTurkish(String in); boolean containsAsciiRelated(String s); IntIntMap getTurkishToAsciiMap(); char getAsciiEqual(char c); boolean isAsciiEqual(char c1, char c2); boolean allCapital(String input); String normalize(String input); char normalizeCircumflex(char c); boolean containsCircumflex(String s); boolean isTurkishSpecific(char c); boolean containsApostrophe(String s); boolean containsForeignDiacritics(String s); String getAllLetters(); String getLowercaseLetters(); String getUppercaseLetters(); String normalizeCircumflex(String s); String normalizeApostrophe(String s); char voice(char c); char devoice(char c); TurkicLetter getLetter(char c); TurkicLetter getLastLetter(CharSequence s); char lastChar(CharSequence s); TurkicLetter getFirstLetter(CharSequence s); boolean isVowel(char c); boolean isDictionaryLetter(char c); boolean isStopConsonant(char c); boolean isVoicelessConsonant(char c); TurkicLetter getLastVowel(CharSequence s); TurkicLetter getFirstVowel(CharSequence s); boolean checkVowelHarmonyA(CharSequence source, CharSequence target); boolean checkVowelHarmonyI(CharSequence source, CharSequence target); boolean checkVowelHarmonyA(TurkicLetter source, TurkicLetter target); boolean checkVowelHarmonyI(TurkicLetter source, TurkicLetter target); boolean containsVowel(CharSequence s); int vowelCount(String s); boolean containsDigit(String s); boolean equalsIgnoreDiacritics(String s1, String s2); boolean startsWithIgnoreDiacritics(String s1, String s2); static final Locale TR; static TurkishAlphabet INSTANCE; }### Answer:
@Test public void equalsIgnoreDiacritics() { TurkishAlphabet alphabet = TurkishAlphabet.INSTANCE; String[] a = {"siraci", "ağac", "ağaç"}; String[] b = {"şıracı", "ağaç", "agac"}; for (int i = 0; i < a.length; i++) { Assert.assertTrue(alphabet.equalsIgnoreDiacritics(a[i], b[i])); } }