Esempio n. 1
0
        public void From_ValueAndUnit_ReturnsQuantityWithSameValueAndUnit()
        {
            var quantity00 = DoseRate.From(1, DoseRateUnit.GrayPerSecond);

            AssertEx.EqualTolerance(1, quantity00.GrayPerSeconds, GrayPerSecondsTolerance);
            Assert.Equal(DoseRateUnit.GrayPerSecond, quantity00.Unit);
        }