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() { cUnitSpeedAngular unitSpeedAngular = new cUnitSpeedAngular { Unit = cUnitSpeedAngular.eUnit.None }; cUnits units = unitSpeedAngular.GetUnits(); Assert.That(units.GetUnitsLabel(), Is.EqualTo("NA/NA")); }