Fix tests

This commit is contained in:
Cuyler36 2018-11-12 02:13:32 -05:00
parent b43ade5e29
commit 899e2ead58

View file

@ -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]