public void miscConstructorTest() { MiscDrawingOptions target = new MiscDrawingOptions(); //Assert.Inconclusive("TODO: Implement code to verify target"); Assert.IsNotNull(target); }
public void symbol_sizeTest() { MiscDrawingOptions target = myMisc; int expected = target.SymbolSize; int actual; target.SymbolSize = expected; actual = target.SymbolSize; Assert.AreEqual(expected, actual); }
public void pixels_per_inchTest() { MiscDrawingOptions target = myMisc; decimal expected = target.PixelsPerInch; decimal actual; target.PixelsPerInch = expected; actual = target.PixelsPerInch; Assert.AreEqual(expected, actual); }
public void grid_scaleTest() { MiscDrawingOptions target = myMisc; int expected = target.GridScale; int actual; target.GridScale = expected; actual = target.GridScale; Assert.AreEqual(expected, actual); }
public void background_colorTest() { MiscDrawingOptions target = myMisc; Color expected = new Color(); expected = System.Drawing.ColorTranslator.FromHtml("#090947"); Color actual; target.BackgroundColor = expected; actual = target.BackgroundColor; Assert.AreEqual(expected, actual); }
public void text_colorTest() { MiscDrawingOptions target = myMisc; Color expected = new Color(); expected = System.Drawing.ColorTranslator.FromHtml("#2519fa"); Color actual; target.TextColor = expected; actual = target.TextColor; Assert.AreEqual(expected, actual); }
public void group_outline_colorTest() { MiscDrawingOptions target = myMisc; Color expected = new Color(); expected = System.Drawing.ColorTranslator.FromHtml("#871199"); Color actual; target.GroupOutlineColor = expected; actual = target.GroupOutlineColor; Assert.AreEqual(expected, actual); }
public static void MyClassInitialize(TestContext testContext) { MiscDrawingOptions myMisc = XMLModelReader.ReadMiscOptionsFromZetecModelFile("BGA-33110-SG.xml"); }