public void Test_to_rankine_generic_from_rankine_returns_same_value()
        {
            // Arrange.
            var input = new RankineDouble(851.67);

            // Act.
            var result = input.To <Rankine>();

            // Assert.
            result.Should().Be(input.Temperature);
        }
        public void Test_to_kelvin_generic_from_rankine_returns_correct_value()
        {
            // Arrange.
            const double expected = 473.1499999999999d;
            var          input    = new RankineDouble(851.67);

            // Act.
            var result = input.To <Kelvin>();

            // Assert.
            result.Should().Be(expected);
        }
        public void Test_to_fahrenheit_generic_from_rankine_returns_correct_value()
        {
            // Arrange.
            const double expected = 33.800999999999991d;
            var          input    = new RankineDouble(493.471d);

            // Act.
            var result = input.To <Fahrenheit>();

            // Assert.
            result.Should().Be(expected);
        }
        public void Test_to_gas_generic_from_rankine_returns_correct_value()
        {
            // Arrange.
            const double expected = 3d;
            var          input    = new RankineDouble(806.67);

            // Act.
            var result = input.To <Gas>();

            // Assert.
            result.Should().Be(expected);
        }
        public void Test_to_celsius_generic_from_rankine_returns_correct_value()
        {
            // Arrange.
            const double expected = 1.0000000000000062d;
            var          input    = new RankineDouble(493.47d);

            // Act.
            var result = input.To <Celsius>();

            // Assert.
            result.Should().Be(expected);
        }