Fix tests
This commit is contained in:
parent
b43ade5e29
commit
899e2ead58
1 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,9 @@ public class ExtensionTests
|
|||
[TestMethod]
|
||||
public void TestSetBit()
|
||||
{
|
||||
byte test = 0xF;
|
||||
test.SetBit(4, true);
|
||||
Assert.AreEqual(test, 0x1F);
|
||||
const byte test = 0xF;
|
||||
var result = test.SetBit(4, true);
|
||||
Assert.AreEqual(result, 0x1F);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
|
|
Loading…
Reference in a new issue