mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +00:00
Fixing bad unit tests
This commit is contained in:
@@ -40,13 +40,13 @@ namespace ICD.Common.Utils.Tests.Extensions
|
||||
Assert.AreEqual(expected, value.SetBitOff(index));
|
||||
}
|
||||
|
||||
[TestCase(0xFF, 0x0F)]
|
||||
[TestCase(0xAB, 0x0B)]
|
||||
public void GetLower4BitsTest(byte b, byte expected)
|
||||
{
|
||||
Assert.AreEqual(expected, b.GetLower4Bits());
|
||||
}
|
||||
|
||||
[TestCase(0xFF, 0xF0)]
|
||||
[TestCase(0xAB, 0x0A)]
|
||||
public void GetUpper4BitsTest(byte b, byte expected)
|
||||
{
|
||||
Assert.AreEqual(expected, b.GetUpper4Bits());
|
||||
|
||||
Reference in New Issue
Block a user