Test: Bytes.toStr()
This commit is contained in:
parent
483f5a4f74
commit
b5ca312419
|
@ -57,7 +57,19 @@ public class Test {
|
|||
}
|
||||
}
|
||||
|
||||
private static void test_toStr()
|
||||
{
|
||||
byte nr = -128;
|
||||
while (true) {
|
||||
System.out.println("" + nr + " = '" + new String(Bytes.toStr(nr)) + "'");
|
||||
if (nr == 127)
|
||||
break;
|
||||
nr++;
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String args[]){
|
||||
test_str2mi2str();
|
||||
test_toStr();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue