public void SetToDefault_Resets_Unit_To_Default()
        {
            cUnitSpeedAngular unitSpeedAngular = new cUnitSpeedAngular();

            cUnitSpeedAngular.eUnit defaultUnit = cUnitSpeedAngular.UnitDefault;

            Assert.That(defaultUnit, Is.EqualTo(cUnitSpeedAngular.eUnit.OneCyclePerSecond));
            unitSpeedAngular.Unit = cUnitSpeedAngular.eUnit.Hertz;
            Assert.That(unitSpeedAngular.Unit, Is.EqualTo(cUnitSpeedAngular.eUnit.Hertz));

            unitSpeedAngular.SetToDefault();
            Assert.That(unitSpeedAngular.Unit, Is.EqualTo(cUnitSpeedAngular.eUnit.OneCyclePerSecond));
        }
        public void GetUnitsEnum(string shorthandUnitName, double expectedResult)
        {
            cUnitSpeedAngular.eUnit unit = cUnitSpeedAngular.GetUnitsEnum(shorthandUnitName);

            Assert.That(unit, Is.EqualTo((cUnitSpeedAngular.eUnit)expectedResult));
        }