mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Fixing bad unit tests
This commit is contained in:
parent
18b14b7e75
commit
09bdd45dc5
1 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue