Update literal values to match concepts in new runtime behavior
Turned off the ignore for the tests
MODIFY
src/Chapter02.Tests/Listing02.02.Tests.cs
src/Chapter02.Tests/Listing02.02.Tests.cs
@@ -6,10 +6,9 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_02.Tests
public class LiteralValueTests
{
[TestMethod]
- [Ignore]
public void Main_WriteNumbers()
{
- const string expected = @"1.61803398874989";
+ const string expected = @"1.618033988749895";
IntelliTect.TestTools.Console.ConsoleAssert.Expect(
expected, Program.Main);

MODIFY
src/Chapter02.Tests/Listing02.03.Tests.cs
src/Chapter02.Tests/Listing02.03.Tests.cs
@@ -8,7 +8,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_03.Tests
[TestMethod]
public void Main_WriteNumbers()
{
- const string expected = @"1.618033988749895";
+ const string expected = @"1.6180339887498948";
IntelliTect.TestTools.Console.ConsoleAssert.Expect(
expected, Program.Main);

MODIFY
src/Chapter02/Listing02.02.SpecifyingALiteralDouble.cs
src/Chapter02/Listing02.02.SpecifyingALiteralDouble.cs
@@ -4,7 +4,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_02
{
public static void Main()
{
- System.Console.WriteLine(1.618033988749895);
+ System.Console.WriteLine(1.6180339887498948);
}
}
}

MODIFY
src/Chapter02/Listing02.03.SpecifyingALiteralDecimal.cs
src/Chapter02/Listing02.03.SpecifyingALiteralDecimal.cs
@@ -4,7 +4,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_03
{
public static void Main()
{
- System.Console.WriteLine(1.618033988749895M);
+ System.Console.WriteLine(1.6180339887498948M);
}
}
}

Update literal values to match concepts in new runtime behavior

Turned off the ignore for the tests