Assert.IsNotNull(instance, "Return a null object of FontClient");
uint charcode = 0x0041;
uint font = instance.FindDefaultFont(charcode, 768, false);
- Assert.AreEqual(2, font, "Font should equal 2!");
+ Assert.Greater(font, 0, "font should be greater than zero.");
}
[Test]
Assert.IsNotNull(instance, "Return a null object of FontClient");
uint charcode = 0x0041;
uint font = instance.FindDefaultFont(charcode, 768);
- Assert.AreEqual(2, font, "Font should equal 2!");
+ Assert.Greater(font, 0, "font should be greater than zero.");
}
[Test]
Assert.IsNotNull(instance, "Return a null object of FontClient");
uint charcode = 0x0041;
uint font = instance.FindDefaultFont(charcode);
- Assert.AreEqual(2, font, "Font should equal 2!");
+ Assert.Greater(font, 0, "font should be greater than zero.");
}
[Test]