private void RefreshTextBoxes() { textBoxAngle.Text = Angle.ToString("0.##"); textBoxBetween.Text = Between.ToString("0.##"); textBoxHeight.Text = Height.ToString("0.##"); textBoxNumber.Text = Number.ToString(); }
private void AddDefaultValues(double length) { Reverse = 1; Height = length; Angle = 18; Number = 10; Between = Height / (Number - 1); textBoxAngle.Text = Angle.ToString(); textBoxBetween.Text = Between.ToString(); textBoxHeight.Text = Height.ToString(); textBoxNumber.Text = Number.ToString(); }
public void BetweenCorrectlyConvertsToJson() { var between = new Between <int>(10, 20, false); between.ToString().ShouldEqual(BetweenJson); }
public void BetweenCorrectlyConvertsToJson() { var between = new Between<int>(10, 20, false); between.ToString().ShouldEqual(BetweenJson); }