Skip to content

Commit

Permalink
Revert changes in KelvinTests and RankineTests
Browse files Browse the repository at this point in the history
Reverted namespace, using directive, and data type changes in
KelvinTests and RankineTests classes to their original state.
  • Loading branch information
dtanglr committed Sep 14, 2024
1 parent a41d385 commit e000880
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Acme.TestLib2.Single;
using Acme.TestLib2.Double;
using FluentAssertions;
using Xunit;

namespace Primitively.IntegrationTests.NumericTests.Single;
namespace Primitively.IntegrationTests.NumericTests.Double;

public class KelvinTests
{
Expand Down Expand Up @@ -67,9 +67,9 @@ public void Minimum_Sut_Scale_Converts_To_Minimum_In_Other_Scales()
var kelvin = new Kelvin(Kelvin.Minimum);

// Act
float celsius = (Celsius)kelvin;
float fahrenheit = (Fahrenheit)kelvin;
float rankine = (Rankine)kelvin;
double celsius = (Celsius)kelvin;
double fahrenheit = (Fahrenheit)kelvin;
double rankine = (Rankine)kelvin;

// Assert
celsius.Should().Be(Celsius.Minimum);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Acme.TestLib2.Single;
using Acme.TestLib2.Double;
using FluentAssertions;
using Xunit;

namespace Primitively.IntegrationTests.NumericTests.Single;
namespace Primitively.IntegrationTests.NumericTests.Double;

public class RankineTests
{
Expand Down Expand Up @@ -67,9 +67,9 @@ public void Minimum_Sut_Scale_Converts_To_Minimum_In_Other_Scales()
var rankine = new Rankine(Rankine.Minimum);

// Act
float celsius = (Celsius)rankine;
float fahrenheit = (Fahrenheit)rankine;
float kelvin = (Kelvin)rankine;
double celsius = (Celsius)rankine;
double fahrenheit = (Fahrenheit)rankine;
double kelvin = (Kelvin)rankine;

// Assert
celsius.Should().Be(Celsius.Minimum);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Acme.TestLib2.Double;
using Acme.TestLib2.Single;
using FluentAssertions;
using Xunit;

namespace Primitively.IntegrationTests.NumericTests.Double;
namespace Primitively.IntegrationTests.NumericTests.Single;

public class KelvinTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Acme.TestLib2.Double;
using Acme.TestLib2.Single;
using FluentAssertions;
using Xunit;

namespace Primitively.IntegrationTests.NumericTests.Double;
namespace Primitively.IntegrationTests.NumericTests.Single;

public class RankineTests
{
Expand Down

0 comments on commit e000880

Please sign in to comment.