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

            // 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 float expected = 473.1499999999999f;
            var         input    = new RankineFloat(851.67f);

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

            // Assert.
            result.Should().Be(expected);
        }
        public void Test_to_fahrenheit_generic_from_rankine_returns_correct_value()
        {
            // Arrange.
            const float expected = 33.80101f;
            var         input    = new RankineFloat(493.471f);

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

            // Assert.
            result.Should().Be(expected);
        }
        public void Test_to_gas_generic_from_rankine_returns_correct_value()
        {
            // Arrange.
            const float expected = 3f;
            var         input    = new RankineFloat(806.67f);

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

            // Assert.
            result.Should().Be(expected);
        }
        public void Test_to_celsius_generic_from_rankine_returns_correct_value()
        {
            // Arrange.
            const float expected = 1f;
            var         input    = new RankineFloat(493.47f);

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

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