Esempio n. 1
0
 public void FromInt()
 {
     Assert.That(Utf8String.FromInt(0), Is.EqualTo(new Utf8String("0")));
     Assert.That(Utf8String.FromInt(1), Is.EqualTo(new Utf8String("1")));
     Assert.That(Utf8String.FromInt(10), Is.EqualTo(new Utf8String("10")));
     Assert.That(Utf8String.FromInt(12), Is.EqualTo(new Utf8String("12")));
     Assert.That(Utf8String.FromInt(-12), Is.EqualTo(new Utf8String("-12")));
 }