Integer casts. Part 2. (#41)

This commit is contained in:
tower120
2020-04-21 08:27:18 +03:00
committed by Mindaugas Vinkelis
parent a544879b22
commit 3dc5940c16
16 changed files with 66 additions and 51 deletions

View File

@@ -125,7 +125,7 @@ TYPED_TEST(SerializeContainerDynamicSizeArthmeticTypes, CustomFunctionIncrements
});
//decrement result by 1, before comparing for eq
for (auto &v:this->res)
v -= 1;
v = static_cast<TValue>(v-1);
EXPECT_THAT(ctx.getBufferSize(), Eq(this->getExpectedBufSize(ctx)));
EXPECT_THAT(this->res, ContainerEq(this->src));