SetScale() 공개 메소드

Sets the scale of the track block relative to the screen
Scale is represented as a ratio of actual length units per pixel, e.g. 10 miles/pixel would be set as 0.1
public SetScale ( double scale ) : bool
scale double Scale to display
리턴 bool
 public void SetScaleTest1()
 {
     TrackBlock block = null; // TODO: Initialize to an appropriate value
     double scale = 0F; // TODO: Initialize to an appropriate value
     TrackBlockGraphic target = new TrackBlockGraphic(block, scale); // TODO: Initialize to an appropriate value
     double scale1 = 0F; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.SetScale(scale1);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }