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 Claim_Tests
{
#region FromString
[TestMethod()]
[TestMethod]
public void FromString__Test1()
{
Day03.Claim claim = Day03.Claim.FromString("#123 @ 3,2: 5x4");
@@ -19,7 +19,7 @@ namespace AdventOfCode2018.Tests
Assert.AreEqual(4, claim.Height);
}
[TestMethod()]
[TestMethod]
public void FromString__Test2()
{
Day03.Claim claim = Day03.Claim.FromString("#1 @ 1,3: 4x4");
@@ -31,7 +31,7 @@ namespace AdventOfCode2018.Tests
Assert.AreEqual(4, claim.Height);
}
[TestMethod()]
[TestMethod]
public void FromString__Test3()
{
Day03.Claim claim = Day03.Claim.FromString("#2 @ 3,1: 4x4");
@@ -43,7 +43,7 @@ namespace AdventOfCode2018.Tests
Assert.AreEqual(4, claim.Height);
}
[TestMethod()]
[TestMethod]
public void FromString__Test4()
{
Day03.Claim claim = Day03.Claim.FromString("#3 @ 5,5: 2x2");
@@ -59,7 +59,7 @@ namespace AdventOfCode2018.Tests
#region Overlaps
[TestMethod()]
[TestMethod]
public void Overlaps__Test1()
{
Day03.Claim claim1 = Day03.Claim.FromString("#1 @ 1,3: 4x4");
@@ -70,7 +70,7 @@ namespace AdventOfCode2018.Tests
Assert.AreEqual(false, result);
}
[TestMethod()]
[TestMethod]
public void Overlaps__Test2()
{
Day03.Claim claim1 = Day03.Claim.FromString("#2 @ 3,1: 4x4");
@@ -81,7 +81,7 @@ namespace AdventOfCode2018.Tests
Assert.AreEqual(false, result);
}
[TestMethod()]
[TestMethod]
public void Overlaps__Test3()
{
Day03.Claim claim1 = Day03.Claim.FromString("#1 @ 1,3: 4x4");