mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
Moving GetNewIdTest
This commit is contained in:
@@ -71,12 +71,5 @@ namespace ICD.Common.Utils.Tests
|
|||||||
IEnumerable<int> values = new int[] { 0, 15, 30, 45 };
|
IEnumerable<int> values = new int[] { 0, 15, 30, 45 };
|
||||||
Assert.AreEqual(15, MathUtils.RoundToNearest(21, values));
|
Assert.AreEqual(15, MathUtils.RoundToNearest(21, values));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test, UsedImplicitly]
|
|
||||||
public void GetNewIdTest()
|
|
||||||
{
|
|
||||||
IEnumerable<int> ids = Enumerable.Range(1, 10);
|
|
||||||
Assert.AreEqual(11, MathUtils.GetNewId(ids));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user