Skip to content

Commit bf336d6

Browse files
committed
Added TryConvert case for Angle in UnitValueTests.cs.
1 parent 2e84a36 commit bf336d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/UnitValueTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public void TryConvertReturnsFalseOnIncompatibleUnits()
1414
Assert.False(new UnitValue(1, Unit.Pascal).TryConvert(Unit.Second, out newValue));
1515
Assert.False(new UnitValue(1, Unit.SquareMeter).TryConvert(Unit.Second, out newValue));
1616
Assert.False(new UnitValue(1, Unit.CubicMeter).TryConvert(Unit.Second, out newValue));
17+
Assert.False(new UnitValue(1, Unit.Degree).TryConvert(Unit.Second, out newValue));
1718
}
1819
}
1920
}

0 commit comments

Comments
 (0)