Fixing bad unit tests

This commit is contained in:
Chris Cameron
2018-03-23 15:29:33 -04:00
parent 18b14b7e75
commit 09bdd45dc5

View File

@@ -40,13 +40,13 @@ namespace ICD.Common.Utils.Tests.Extensions
Assert.AreEqual(expected, value.SetBitOff(index)); Assert.AreEqual(expected, value.SetBitOff(index));
} }
[TestCase(0xFF, 0x0F)] [TestCase(0xAB, 0x0B)]
public void GetLower4BitsTest(byte b, byte expected) public void GetLower4BitsTest(byte b, byte expected)
{ {
Assert.AreEqual(expected, b.GetLower4Bits()); Assert.AreEqual(expected, b.GetLower4Bits());
} }
[TestCase(0xFF, 0xF0)] [TestCase(0xAB, 0x0A)]
public void GetUpper4BitsTest(byte b, byte expected) public void GetUpper4BitsTest(byte b, byte expected)
{ {
Assert.AreEqual(expected, b.GetUpper4Bits()); Assert.AreEqual(expected, b.GetUpper4Bits());