1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-10-19 11:26:11 +00:00
X10D/X10D.Tests/src/ComparableTests.cs
2020-04-18 14:41:53 +01:00

23 lines
558 B
C#

namespace X10D.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// Tests for <see cref="ComparableExtensions"/>.
/// </summary>
[TestClass]
public class ComparableTests
{
/// <summary>
/// Tests for <see cref="ComparableExtensions.Between{T}"/>.
/// </summary>
[TestMethod]
public void Between()
{
Assert.IsTrue(5.Between(2, 7));
Assert.IsTrue(10.Between(9, 11));
Assert.IsFalse(100.Between(80, 99));
}
}
}