mirror of https://github.com/SeanOMik/libki.git
util: Fix small error in BitStream::stream_pos decrement by bits test
This commit is contained in:
parent
f90dc888bb
commit
8f7d9bc896
|
@ -53,8 +53,8 @@ TEST_CASE("BitStream::stream_pos Functionality", "[bit-stream]")
|
||||||
|
|
||||||
SECTION("Decrement bits and move to previous byte")
|
SECTION("Decrement bits and move to previous byte")
|
||||||
{
|
{
|
||||||
position -= 4;
|
position -= 5;
|
||||||
if (position.get_byte() != 1 || position.get_bit() != 7)
|
if (position.get_byte() != 0 || position.get_bit() != 7)
|
||||||
FAIL();
|
FAIL();
|
||||||
SUCCEED();
|
SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue