diff --git a/src/Orc.Controls.Tests/UI/Controls/NumbericUpDown/NumericUpDownFacts.cs b/src/Orc.Controls.Tests/UI/Controls/NumbericUpDown/NumericUpDownFacts.cs index 2fab3f706..a3268f347 100644 --- a/src/Orc.Controls.Tests/UI/Controls/NumbericUpDown/NumericUpDownFacts.cs +++ b/src/Orc.Controls.Tests/UI/Controls/NumbericUpDown/NumericUpDownFacts.cs @@ -47,7 +47,7 @@ public void CorrectlyIncreaseValue(double initialValue, double delta, int decima var expectedValue = initialValue + delta; - Assert.That(target.Value, Is.EqualTo((Number)(expectedValue))); + Assert.That(target.Value, Is.EqualTo(expectedValue)); Assert.That(view.Value, Is.EqualTo(expectedViewValue)); } @@ -68,7 +68,7 @@ public void CorrectlyDecreaseValue(double initialValue, double delta, int decima var expectedValue = initialValue - delta; - Assert.That(target.Value, Is.EqualTo((Number)(expectedValue))); + Assert.That(target.Value, Is.EqualTo(expectedValue)); Assert.That(view.Value, Is.EqualTo(expectedViewValue)); }