Removed obsolete function SetBitAt

- fix #27
This commit is contained in:
Federico Barresi
2022-05-18 14:35:26 +02:00
parent 5a3c85c5f7
commit e5836c4283
3 changed files with 7 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ namespace Sharp7.Tests
[Fact] public void TestGetBitAt() { S7.GetBitAt(new byte[] {1,2,3,4}, 0, 0).ShouldBe(true); }
[Fact] public void TestSetBitAt() {
var buffer = new byte[] {1,2,3,4};
S7.SetBitAt(ref buffer, 0, 1, true);
S7.SetBitAt(buffer, 0, 1, true);
buffer.ShouldBe(new byte[] {3, 2, 3, 4});
}
[Fact] public void TestSetBitAtAsExtensionMethod() {