Archived
1
0
This repository has been archived on 2023-12-01. You can view files and clone it, but cannot push or open issues or pull requests.
Mindbox/MindBox.Tests/CircleCreateTests.cs

17 lines
325 B
C#
Raw Normal View History

2023-11-13 22:40:23 +03:00
namespace MindBox.Tests;
public class CircleCreateTests
{
[Test]
public void ZeroRadius()
{
Assert.Throws<ArgumentException>(() => new Circle { Radius = 0.0 });
}
[Test]
public void NegativeRadius()
{
Assert.Throws<ArgumentException>(() => new Circle { Radius = -1.0 });
}
}