1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-10-19 09:06:12 +00:00
X10D/X10D.Tests/src/Core/ComparableTests.cs

23 lines
569 B
C#
Raw Normal View History

using Microsoft.VisualStudio.TestTools.UnitTesting;
2020-07-15 13:32:59 +00:00
namespace X10D.Tests.Core
2020-04-18 13:41:53 +00:00
{
/// <summary>
2020-07-15 13:32:59 +00:00
/// Tests for <see cref="ComparableExtensions" />.
2020-04-18 13:41:53 +00:00
/// </summary>
[TestClass]
public class ComparableTests
{
/// <summary>
2020-07-15 13:32:59 +00:00
/// Tests for <see cref="ComparableExtensions.Between{T}" />.
2020-04-18 13:41:53 +00:00
/// </summary>
[TestMethod]
public void Between()
{
Assert.IsTrue(5.Between(2, 7));
Assert.IsTrue(10.Between(9, 11));
Assert.IsFalse(100.Between(80, 99));
}
}
}