We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a47d95d commit 3c43f56Copy full SHA for 3c43f56
UnitsNet.Tests/CustomCode/AmplitudeRatioTests.cs
@@ -51,6 +51,7 @@ public void InvalidVoltage_ExpectArgumentOutOfRangeException(double voltage)
51
{
52
ElectricPotential invalidVoltage = ElectricPotential.FromVolts(voltage);
53
54
+ // ReSharper disable once ObjectCreationAsStatement
55
Assert.Throws<ArgumentOutOfRangeException>(() => new AmplitudeRatio(invalidVoltage));
56
}
57
0 commit comments