File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ public void TryConvertReturnsFalseOnIncompatibleUnits()
10
10
{
11
11
double newValue ;
12
12
Assert . False ( new UnitValue ( 1 , Unit . Meter ) . TryConvert ( Unit . Second , out newValue ) ) ;
13
- Assert . False ( new UnitValue ( 1 , Unit . Kilogram ) . TryConvert ( Unit . Second , out newValue ) ) ;
14
- Assert . False ( new UnitValue ( 1 , Unit . Pascal ) . TryConvert ( Unit . Second , out newValue ) ) ;
15
13
Assert . False ( new UnitValue ( 1 , Unit . SquareMeter ) . TryConvert ( Unit . Second , out newValue ) ) ;
16
14
Assert . False ( new UnitValue ( 1 , Unit . CubicMeter ) . TryConvert ( Unit . Second , out newValue ) ) ;
15
+ Assert . False ( new UnitValue ( 1 , Unit . Newton ) . TryConvert ( Unit . Second , out newValue ) ) ;
16
+ Assert . False ( new UnitValue ( 1 , Unit . Pascal ) . TryConvert ( Unit . Second , out newValue ) ) ;
17
+ Assert . False ( new UnitValue ( 1 , Unit . Kilogram ) . TryConvert ( Unit . Second , out newValue ) ) ;
17
18
Assert . False ( new UnitValue ( 1 , Unit . Degree ) . TryConvert ( Unit . Second , out newValue ) ) ;
18
19
}
19
20
}
You can’t perform that action at this time.
0 commit comments