Exemple #1
0
        public void From_ValueAndUnit_ReturnsQuantityWithSameValueAndUnit()
        {
            var quantity00 = SpaceVelocity.From(1, SpaceVelocityUnit.LiterPerSecondCubicMeter);

            AssertEx.EqualTolerance(1, quantity00.LiterPerSecondCubicMeters, LiterPerSecondCubicMetersTolerance);
            Assert.Equal(SpaceVelocityUnit.LiterPerSecondCubicMeter, quantity00.Unit);
        }