public void ComputeValuesTest() { ScaleBarUtility_Accessor target = new ScaleBarUtility_Accessor(); // TODO: Initialize to an appropriate value double Range = 0F; // TODO: Initialize to an appropriate value double[] expected = null; // TODO: Initialize to an appropriate value double[] actual; actual = target.ComputeValues(Range); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void FindNaturalBreakTest() { ScaleBarUtility_Accessor target = new ScaleBarUtility_Accessor(); // TODO: Initialize to an appropriate value double range = 0F; // TODO: Initialize to an appropriate value double expected = 0F; // TODO: Initialize to an appropriate value double actual; actual = target.FindNaturalBreak(range); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void FindSignificantDigitsTest() { ScaleBarUtility_Accessor target = new ScaleBarUtility_Accessor(); // TODO: Initialize to an appropriate value double value = 0F; // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; actual = target.FindSignificantDigits(value); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void TextHeightTest() { ScaleBarUtility_Accessor target = new ScaleBarUtility_Accessor(); // TODO: Initialize to an appropriate value string Text = string.Empty; // TODO: Initialize to an appropriate value Font font = null; // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; actual = target.TextHeight(Text, font); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void DistanceTest1() { ScaleBarUtility_Accessor target = new ScaleBarUtility_Accessor(); // TODO: Initialize to an appropriate value double x1 = 0F; // TODO: Initialize to an appropriate value double y1 = 0F; // TODO: Initialize to an appropriate value double x2 = 0F; // TODO: Initialize to an appropriate value double y2 = 0F; // TODO: Initialize to an appropriate value double expected = 0F; // TODO: Initialize to an appropriate value double actual; actual = target.Distance(x1, y1, x2, y2); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void DistanceTest() { ScaleBarUtility_Accessor target = new ScaleBarUtility_Accessor(); // TODO: Initialize to an appropriate value double Lat1 = 0F; // TODO: Initialize to an appropriate value double Long1 = 0F; // TODO: Initialize to an appropriate value double Lat2 = 0F; // TODO: Initialize to an appropriate value double Long2 = 0F; // TODO: Initialize to an appropriate value MapWindow.Interfaces.UnitOfMeasure DesiredUnits = new MapWindow.Interfaces.UnitOfMeasure(); // TODO: Initialize to an appropriate value double expected = 0F; // TODO: Initialize to an appropriate value double actual; actual = target.Distance(Lat1, Long1, Lat2, Long2, DesiredUnits); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void CalcRangeTest() { ScaleBarUtility_Accessor target = new ScaleBarUtility_Accessor(); // TODO: Initialize to an appropriate value Extents MapExtents = null; // TODO: Initialize to an appropriate value MapWindow.Interfaces.UnitOfMeasure MapUnits = new MapWindow.Interfaces.UnitOfMeasure(); // TODO: Initialize to an appropriate value MapWindow.Interfaces.UnitOfMeasure ScaleBarUnits = new MapWindow.Interfaces.UnitOfMeasure(); // TODO: Initialize to an appropriate value MapWindow.Interfaces.UnitOfMeasure ScaleBarUnitsExpected = new MapWindow.Interfaces.UnitOfMeasure(); // TODO: Initialize to an appropriate value int width = 0; // TODO: Initialize to an appropriate value double expected = 0F; // TODO: Initialize to an appropriate value double actual; actual = target.CalcRange(MapExtents, MapUnits, ref ScaleBarUnits, width); Assert.AreEqual(ScaleBarUnitsExpected, ScaleBarUnits); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }