recrownedgtk/RecrownedGTK.Tests/Types/RectangleTests.cs

16 lines
389 B
C#

using NUnit.Framework;
using RecrownedGTK.Types;
namespace RecrownedGTK.Tests.Types {
[TestFixture]
public class RectangleTests {
Rectangle rectangle;
[SetUp]
public void Setup() {
rectangle = new Rectangle(3, 4, 5, 10);
}
[Test]
public void TestArea() {
Assert.AreEqual(rectangle.Area, 50);
}
}
}