public void GetUnits_Returns_Units() { cUnitPressureStress unitPressureStress = new cUnitPressureStress(); cUnits units = unitPressureStress.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("lb/in^2")); }
public void GetUnits_Returns_Units() { cUnitWork unitWork = new cUnitWork(); cUnits units = unitWork.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("N*m")); }
public void GetUnits_Returns_Units() { cUnitForceLineDistribution unitForceLineDistribution = new cUnitForceLineDistribution(); cUnits units = unitForceLineDistribution.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("lb/ft")); }
public void GetUnits_Returns_Units() { cUnitSpeed unitSpeed = new cUnitSpeed(); cUnits units = unitSpeed.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("ft/sec")); }
public void GetUnits_Returns_Units() { cUnitPower unitPower = new cUnitPower(); cUnits units = unitPower.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("(N*m)/sec")); }
public void GetUnits_Returns_Units() { cUnitSpeedAngular unitSpeedAngular = new cUnitSpeedAngular(); cUnits units = unitSpeedAngular.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("cyc/sec")); }
public void GetUnits_Of_None_Returns_NA() { cUnitWork unitWork = new cUnitWork { Unit = cUnitWork.eUnit.None }; cUnits units = unitWork.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("NA*NA")); }
public void GetUnits_Of_None_Returns_NA() { cUnitForceLineDistribution unitForceLineDistribution = new cUnitForceLineDistribution { Unit = cUnitForceLineDistribution.eUnit.None }; cUnits units = unitForceLineDistribution.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("NA/NA")); }
public void GetUnits_Of_None_Returns_NA() { cUnitSpeed unitSpeed = new cUnitSpeed { Unit = cUnitSpeed.eUnit.None }; cUnits units = unitSpeed.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("NA/NA")); }
public void GetUnits_Of_None_Returns_NA() { cUnitPressureStress unitPressureStress = new cUnitPressureStress { Unit = cUnitPressureStress.eUnit.None }; cUnits units = unitPressureStress.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("NA/NA^2")); }
public void GetUnits_Of_None_Returns_NA() { cUnitPower unitPower = new cUnitPower { Unit = cUnitPower.eUnit.None }; cUnits units = unitPower.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("(NA*NA)/NA")); }
public string GetUnits_By_String_Name_Returns_Units_Of_Name(string shorthandUnitName) { cUnits units = cUnitWork.GetUnits(shorthandUnitName); return(units.GetUnitsLabel()); }
public string GetUnits_By_Enum_Name_Returns_Units_Of_Name(double shorthandUnitName) { cUnits units = cUnitWork.GetUnits((cUnitWork.eUnit)shorthandUnitName); return(units.GetUnitsLabel()); }
public string GetUnits_By_String_Name_Returns_Units_Of_Name(string shorthandUnitName) { cUnits units = cUnitForceLineDistribution.GetUnits(shorthandUnitName); return(units.GetUnitsLabel()); }
public string GetUnits_By_Enum_Name_Returns_Units_Of_Name(double shorthandUnitName) { cUnits units = cUnitForceLineDistribution.GetUnits((cUnitForceLineDistribution.eUnit)shorthandUnitName); return(units.GetUnitsLabel()); }