recrownedgtk/RecrownedGTK.Tests/Types/RectangleTest.cs

16 lines
388 B
C#
Raw Normal View History

2020-02-23 18:56:15 +00:00
using NUnit.Framework;
using RecrownedGTK.Types;
namespace RecrownedGTK.Tests.Types {
[TestFixture]
2020-02-23 21:17:10 +00:00
public class RectangleTest {
2020-02-23 18:56:15 +00:00
Rectangle rectangle;
[SetUp]
public void Setup() {
rectangle = new Rectangle(3, 4, 5, 10);
}
[Test]
public void TestArea() {
Assert.AreEqual(rectangle.Area, 50);
}
}
}