public void Test_to_rankine_generic_from_rankine_returns_same_value() { // Arrange. var input = new RankineInt(862); // 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 int expected = 479; var input = new RankineInt(862); // Act. var result = input.To <Kelvin>(); // Assert. result.Should().Be(expected); }
public void Test_to_fahrenheit_generic_from_rankine_returns_correct_value() { // Arrange. const int expected = -186; var input = new RankineInt(274); // Act. var result = input.To <Fahrenheit>(); // Assert. result.Should().Be(expected); }