File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed
test/Primitively.IntegrationTests/NumericTests Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1- using Acme . TestLib2 . Single ;
1+ using Acme . TestLib2 . Double ;
22using FluentAssertions ;
33using Xunit ;
44
5- namespace Primitively . IntegrationTests . NumericTests . Single ;
5+ namespace Primitively . IntegrationTests . NumericTests . Double ;
66
77public class KelvinTests
88{
@@ -67,9 +67,9 @@ public void Minimum_Sut_Scale_Converts_To_Minimum_In_Other_Scales()
6767 var kelvin = new Kelvin ( Kelvin . Minimum ) ;
6868
6969 // Act
70- float celsius = ( Celsius ) kelvin ;
71- float fahrenheit = ( Fahrenheit ) kelvin ;
72- float rankine = ( Rankine ) kelvin ;
70+ double celsius = ( Celsius ) kelvin ;
71+ double fahrenheit = ( Fahrenheit ) kelvin ;
72+ double rankine = ( Rankine ) kelvin ;
7373
7474 // Assert
7575 celsius . Should ( ) . Be ( Celsius . Minimum ) ;
Original file line number Diff line number Diff line change 1- using Acme . TestLib2 . Single ;
1+ using Acme . TestLib2 . Double ;
22using FluentAssertions ;
33using Xunit ;
44
5- namespace Primitively . IntegrationTests . NumericTests . Single ;
5+ namespace Primitively . IntegrationTests . NumericTests . Double ;
66
77public class RankineTests
88{
@@ -67,9 +67,9 @@ public void Minimum_Sut_Scale_Converts_To_Minimum_In_Other_Scales()
6767 var rankine = new Rankine ( Rankine . Minimum ) ;
6868
6969 // Act
70- float celsius = ( Celsius ) rankine ;
71- float fahrenheit = ( Fahrenheit ) rankine ;
72- float kelvin = ( Kelvin ) rankine ;
70+ double celsius = ( Celsius ) rankine ;
71+ double fahrenheit = ( Fahrenheit ) rankine ;
72+ double kelvin = ( Kelvin ) rankine ;
7373
7474 // Assert
7575 celsius . Should ( ) . Be ( Celsius . Minimum ) ;
Original file line number Diff line number Diff line change 1- using Acme . TestLib2 . Double ;
1+ using Acme . TestLib2 . Single ;
22using FluentAssertions ;
33using Xunit ;
44
5- namespace Primitively . IntegrationTests . NumericTests . Double ;
5+ namespace Primitively . IntegrationTests . NumericTests . Single ;
66
77public class KelvinTests
88{
Original file line number Diff line number Diff line change 1- using Acme . TestLib2 . Double ;
1+ using Acme . TestLib2 . Single ;
22using FluentAssertions ;
33using Xunit ;
44
5- namespace Primitively . IntegrationTests . NumericTests . Double ;
5+ namespace Primitively . IntegrationTests . NumericTests . Single ;
66
77public class RankineTests
88{
You can’t perform that action at this time.
0 commit comments