public void GlyphInfoConstructorWithParameters() { tlog.Debug(tag, $"GlyphInfoConstructorWithParameters START"); var testingTarget = new GlyphInfo(1, 2); Assert.IsNotNull(testingTarget, "Can't create success object GlyphInfo."); Assert.IsInstanceOf <GlyphInfo>(testingTarget, "Should return GlyphInfo instance."); testingTarget.Dispose(); tlog.Debug(tag, $"GlyphInfoConstructorWithParameters END (OK)"); }
public void GlyphInfoIndex() { tlog.Debug(tag, $"GlyphInfoIndex START"); var testingTarget = new GlyphInfo(1, 2); Assert.IsNotNull(testingTarget, "Can't create success object GlyphInfo."); Assert.IsInstanceOf <GlyphInfo>(testingTarget, "Should return GlyphInfo instance."); testingTarget.Index = 3; tlog.Debug(tag, "Index :" + testingTarget.FontId); testingTarget.Dispose(); tlog.Debug(tag, $"GlyphInfoIndex END (OK)"); }
public void GlyphInfoScaleFactor() { tlog.Debug(tag, $"GlyphInfoScaleFactor START"); var testingTarget = new GlyphInfo(1, 2); Assert.IsNotNull(testingTarget, "Can't create success object GlyphInfo."); Assert.IsInstanceOf <GlyphInfo>(testingTarget, "Should return GlyphInfo instance."); testingTarget.ScaleFactor = 0.3f; tlog.Debug(tag, "ScaleFactor :" + testingTarget.ScaleFactor); testingTarget.Dispose(); tlog.Debug(tag, $"GlyphInfoScaleFactor END (OK)"); }
public void GlyphInfoAdvance() { tlog.Debug(tag, $"GlyphInfoAdvance START"); var testingTarget = new GlyphInfo(1, 2); Assert.IsNotNull(testingTarget, "Can't create success object GlyphInfo."); Assert.IsInstanceOf <GlyphInfo>(testingTarget, "Should return GlyphInfo instance."); testingTarget.Advance = 20.0f; tlog.Debug(tag, "Advance :" + testingTarget.Advance); testingTarget.Dispose(); tlog.Debug(tag, $"GlyphInfoAdvance END (OK)"); }