public void TestConvertFrom () { FontConverter.FontNameConverter f = new FontConverter.FontNameConverter (); // returns "Times" under Linux and "Times New Roman" under Windows Assert.IsTrue ((f.ConvertFrom ("Times") as string).StartsWith ("Times"), "string test"); Assert.IsTrue (f.GetStandardValuesSupported (), "standard values supported"); Assert.IsFalse (f.GetStandardValuesExclusive (), "standard values exclusive"); }
public void ExTestConvertFrom2 () { FontConverter.FontNameConverter f = new FontConverter.FontNameConverter (); f.ConvertFrom (1); }