SetScale() public méthode

Sets the scale of the train relative to the screen
Scale is represented as a ratio of the original size to the new size
public SetScale ( double scale ) : bool
scale double Scale to display
Résultat bool
 public void SetScaleTest1()
 {
     ITrain train = null; // TODO: Initialize to an appropriate value
     TrainGraphic target = new TrainGraphic(train); // TODO: Initialize to an appropriate value
     double scale = 0F; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.SetScale(scale);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }