diff --git a/tests/ImageProcessorCore.Tests/Numerics/PointTests.cs b/tests/ImageProcessorCore.Tests/Numerics/PointTests.cs
index f67e5f5b35..e45a4fb2de 100644
--- a/tests/ImageProcessorCore.Tests/Numerics/PointTests.cs
+++ b/tests/ImageProcessorCore.Tests/Numerics/PointTests.cs
@@ -1,11 +1,50 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
+//
+// Copyright (c) James Jackson-South and contributors.
+// Licensed under the Apache License, Version 2.0.
+//
-namespace ImageProcessor.Tests.Numerics
+namespace ImageProcessorCore.Tests
{
- public class Class
+ using Xunit;
+
+ ///
+ /// Tests the struct.
+ ///
+ public class PointTests
{
+ ///
+ /// Tests the equality operators for equality.
+ ///
+ [Fact]
+ public void AreEqual()
+ {
+ Point first = new Point(100, 100);
+ Point second = new Point(100, 100);
+
+ Assert.Equal(first, second);
+ }
+
+ ///
+ /// Tests the equality operators for inequality.
+ ///
+ [Fact]
+ public void AreNotEqual()
+ {
+ Point first = new Point(0, 100);
+ Point second = new Point(100, 100);
+
+ Assert.NotEqual(first, second);
+ }
+
+ ///
+ /// Tests whether the point constructor correctly assign properties.
+ ///
+ [Fact]
+ public void ConstructorAssignsProperties()
+ {
+ Point first = new Point(4, 5);
+ Assert.Equal(4, first.X);
+ Assert.Equal(5, first.Y);
+ }
}
-}
+}
\ No newline at end of file