PageRenderTime 48ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/SolarSystem.Tests/PointTests.cs

https://bitbucket.org/efouts/solarsystem
C# | 22 lines | 20 code | 2 blank | 0 comment | 0 complexity | c36f832d0a31098c41d81e01fb38acee MD5 | raw file
Possible License(s): BSD-3-Clause
  1. using NUnit.Framework;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace SolarSystem.Tests
  8. {
  9. [TestFixture]
  10. public class PointTests
  11. {
  12. [Test]
  13. public void Constructor()
  14. {
  15. var point = new Point(1, 2);
  16. Assert.That(point.X, Is.EqualTo(1));
  17. Assert.That(point.Y, Is.EqualTo(2));
  18. }
  19. }
  20. }