teamlead-dashboard/tests/WIdgets/TUI.Tests/IntegerTests.cs

22 lines
350 B
C#
Raw Normal View History

2024-03-09 20:09:28 +00:00
using FluentAssertions;
using TUI.Engine.Rendering;
namespace Widgets.Tests;
public class IntegerTests
{
[Fact]
public void IntegerGreaterMax()
{
var result = 5.Max(10);
result.Should().Be(5);
}
[Fact]
public void IntegerLessMax()
{
var result = 5.Max(3);
result.Should().Be(3);
}
}