Fix tests

This commit is contained in:
2023-12-01 11:11:44 +01:00
parent 55243531f4
commit 9054ddf139
34 changed files with 193 additions and 188 deletions

View File

@@ -2,12 +2,12 @@
namespace AdventOfCode2018.Tests
{
[TestClass()]
[TestClass]
public class ChronoPoint_Tests
{
#region FromString
[TestMethod()]
[TestMethod]
public void FromString__Test1()
{
ChronoPoint point = ChronoPoint.FromString("1, 1");
@@ -16,7 +16,7 @@ namespace AdventOfCode2018.Tests
Assert.AreEqual(1, point.Y);
}
[TestMethod()]
[TestMethod]
public void FromString__Test2()
{
ChronoPoint point = ChronoPoint.FromString("1, 6");
@@ -25,7 +25,7 @@ namespace AdventOfCode2018.Tests
Assert.AreEqual(6, point.Y);
}
[TestMethod()]
[TestMethod]
public void FromString__Test3()
{
ChronoPoint point = ChronoPoint.FromString("8, 9");
@@ -38,7 +38,7 @@ namespace AdventOfCode2018.Tests
#region ManhattanDistance
[TestMethod()]
[TestMethod]
public void ManhattanDistance__Test1()
{
ChronoPoint p0 = ChronoPoint.FromString("8, 9");
@@ -49,7 +49,7 @@ namespace AdventOfCode2018.Tests
Assert.AreEqual(10, distance);
}
[TestMethod()]
[TestMethod]
public void ManhattanDistance__Test2()
{
ChronoPoint p0 = ChronoPoint.FromString("1, 1");