mirror of
https://github.com/microsoft/HybridRow.git
synced 2026-01-19 17:33:13 +00:00
Added, revised, and debugged some tests and test issues
This commit is contained in:
@@ -183,7 +183,14 @@ public class Utf8StringTest {
|
||||
new UnicodeAlphabet("Turkish", new String[] {
|
||||
"A", "a", "B", "b", "C", "c", "Ç", "ç", "D", "d", "E", "e", "F", "f", "G", "g", "Ğ", "ğ", "H", "h",
|
||||
"I", "ı", "İ", "i", "J", "j", "K", "k", "L", "l", "M", "m", "N", "n", "O", "o", "Ö", "ö", "P", "p",
|
||||
"R", "r", "S", "s", "Ş", "ş", "T", "t", "U", "u", "Ü", "ü", "V", "v", "Y", "y", "Z", "z" })
|
||||
"R", "r", "S", "s", "Ş", "ş", "T", "t", "U", "u", "Ü", "ü", "V", "v", "Y", "y", "Z", "z" }),
|
||||
new UnicodeAlphabet("Deseret", new String[] {
|
||||
"𐐀", "𐐁", "𐐂", "𐐃", "𐐄", "𐐅", "𐐆", "𐐇", "𐐈", "𐐉", "𐐊", "𐐋", "𐐌", "𐐍", "𐐎", "𐐏",
|
||||
"𐐐", "𐐑", "𐐒", "𐐓", "𐐔", "𐐕", "𐐖", "𐐗", "𐐘", "𐐙", "𐐚", "𐐛", "𐐜", "𐐝", "𐐞", "𐐟",
|
||||
"𐐠", "𐐡", "𐐢", "𐐣", "𐐤", "𐐥", "𐐦", "𐐧", "𐐨", "𐐩", "𐐪", "𐐫", "𐐬", "𐐭", "𐐮", "𐐯",
|
||||
"𐐰", "𐐱", "𐐲", "𐐳", "𐐴", "𐐵", "𐐶", "𐐷", "𐐸", "𐐹", "𐐺", "𐐻", "𐐼", "𐐽", "𐐾", "𐐿",
|
||||
"𐑀", "𐑁", "𐑂", "𐑃", "𐑄", "𐑅", "𐑆", "𐑇", "𐑈", "𐑉", "𐑊", "𐑋", "𐑌", "𐑍", "𐑎", "𐑏",
|
||||
})
|
||||
);
|
||||
return items.stream().map(item -> new Object[] { item }).iterator();
|
||||
}
|
||||
@@ -374,7 +381,12 @@ public class Utf8StringTest {
|
||||
normalize(lj.compareTo(lj)));
|
||||
}
|
||||
|
||||
static int normalize(int comparison) {
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.name + " alphabet";
|
||||
}
|
||||
|
||||
private static int normalize(int comparison) {
|
||||
return Integer.signum(comparison);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user