CoordinatesCalculatorTests.cs 508 B

1234567891011121314151617181920
  1. using NUnit.Framework;
  2. using PixiEditor.Models.Position;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace PixiEditorTests.ModelsTests.PositionTests
  7. {
  8. [TestFixture]
  9. public class CoordinatesCalculatorTests
  10. {
  11. [TestCase(5,5, 1)]
  12. public void TestCenterOfThickness(int x1, int y1, int thickness)
  13. {
  14. CoordinatesCalculator.CalculateThicknessCenter(new Coordinates(x1, y1), thickness);
  15. }
  16. }
  17. }