11// Copyright (c) 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com).
22// https://github.com/angularsen/UnitsNet
3- //
3+ //
44// Permission is hereby granted, free of charge, to any person obtaining a copy
55// of this software and associated documentation files (the "Software"), to deal
66// in the Software without restriction, including without limitation the rights
77// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
88// copies of the Software, and to permit persons to whom the Software is
99// furnished to do so, subject to the following conditions:
10- //
10+ //
1111// The above copyright notice and this permission notice shall be included in
1212// all copies or substantial portions of the Software.
13- //
13+ //
1414// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1515// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1616// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -51,26 +51,19 @@ public void ForceDividedByAreaEqualsPressure()
5151 }
5252
5353 [ Fact ]
54- public void PressureByAreaEqualsForceUsingArea ( )
54+ public void PressureByAreaEqualsForce ( )
5555 {
5656 Force force = Force . FromPressureByArea ( Pressure . FromNewtonsPerSquareMeter ( 5 ) , Area . FromSquareMeters ( 7 ) ) ;
5757 Assert . Equal ( force , Force . FromNewtons ( 35 ) ) ;
5858 }
5959
60- [ Fact ]
61- public void PressureByAreaEqualsForceUsingLength2D ( )
62- {
63- var force = Force . FromPressureByArea ( Pressure . FromNewtonsPerSquareMeter ( 6 ) , Length2d . FromMeters ( 5 , 2 ) ) ;
64- Assert . Equal ( force , Force . FromNewtons ( 60 ) ) ;
65- }
66-
6760 [ Fact ]
6861 public void ForceDividedByMassEqualsAcceleration ( )
6962 {
7063 Acceleration acceleration = Force . FromNewtons ( 27 ) / Mass . FromKilograms ( 9 ) ;
7164 Assert . Equal ( acceleration , Acceleration . FromMetersPerSecondSquared ( 3 ) ) ;
7265 }
73-
66+
7467 [ Fact ]
7568 public void ForceDividedByAccelerationEqualsMass ( )
7669 {
@@ -85,12 +78,6 @@ public void ForceDividedByLengthEqualsForcePerLength()
8578 Assert . Equal ( forcePerLength , ForcePerLength . FromNewtonsPerMeter ( 4 ) ) ;
8679 }
8780
88- [ Fact ]
89- public void MassByAccelerationEqualsForceUsingDouble ( )
90- {
91- var force = Force . FromMassByAcceleration ( Mass . FromKilograms ( 9 ) , 3 ) ;
92- Assert . Equal ( force , Force . FromNewtons ( 27 ) ) ;
93- }
9481 [ Fact ]
9582 public void MassByAccelerationEqualsForce ( )
9683 {
0 commit comments