From 04500990a8d76b303fbf3033e68b10fb0ae5191d Mon Sep 17 00:00:00 2001 From: DJGosnell Date: Wed, 8 Feb 2023 00:02:55 -0500 Subject: [PATCH] Fixed tests. --- src/DtronixCommon.Tests/BoundaryTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DtronixCommon.Tests/BoundaryTests.cs b/src/DtronixCommon.Tests/BoundaryTests.cs index a4e0687..29791cb 100644 --- a/src/DtronixCommon.Tests/BoundaryTests.cs +++ b/src/DtronixCommon.Tests/BoundaryTests.cs @@ -10,13 +10,13 @@ public class BoundaryTests [Test] public void OneDimensionalBoundaryIsNotEmpty() { - Assert.IsFalse(new Boundary(0, -1, 0, 1).IsEmpty); - Assert.IsFalse(new Boundary(-1, 0, 1, 0).IsEmpty); + Assert.IsFalse(new BoundaryF(0, -1, 0, 1).IsEmpty); + Assert.IsFalse(new BoundaryF(-1, 0, 1, 0).IsEmpty); } [Test] public void CanUnionBoundariesWithOneDimension() { - Assert.AreEqual(new Boundary(-1, -1, 1, 1), new Boundary(0, -1, 0, 1).Union(new Boundary(-1, 0, 1, 0))); + Assert.AreEqual(new BoundaryF(-1, -1, 1, 1), new BoundaryF(0, -1, 0, 1).Union(new BoundaryF(-1, 0, 1, 0))); } }