コード例 #1
0
        public void From_ValueAndUnit_ReturnsQuantityWithSameValueAndUnit()
        {
            var quantity00 = Radiance.From(1, RadianceUnit.WattPerSquareMeterSteradian);

            AssertEx.EqualTolerance(1, quantity00.WattPerSquareMeterSteradians, WattPerSquareMeterSteradiansTolerance);
            Assert.Equal(RadianceUnit.WattPerSquareMeterSteradian, quantity00.Unit);
        }