/SolarSystem.Tests/PointTests.cs
C# | 22 lines | 20 code | 2 blank | 0 comment | 0 complexity | c36f832d0a31098c41d81e01fb38acee MD5 | raw file
Possible License(s): BSD-3-Clause
- using NUnit.Framework;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace SolarSystem.Tests
- {
- [TestFixture]
- public class PointTests
- {
- [Test]
- public void Constructor()
- {
- var point = new Point(1, 2);
-
- Assert.That(point.X, Is.EqualTo(1));
- Assert.That(point.Y, Is.EqualTo(2));
- }
- }
- }