mirror of
https://github.com/dnwSilver/tld.git
synced 2024-11-25 16:42:07 +00:00
22 lines
350 B
C#
22 lines
350 B
C#
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);
|
|
}
|
|
} |