mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 09:06:58 +00:00
Fixed regression in VPath::Clone() api and updated test cases
This commit is contained in:
committed by
Subhransu
parent
7d6264ad7b
commit
fa9a48c375
@@ -69,6 +69,7 @@ TEST_F(VPathTest, reserve) {
|
||||
TEST_F(VPathTest, clone) {
|
||||
VPath pathClone;
|
||||
pathClone.clone(pathOval);
|
||||
ASSERT_TRUE(pathClone.unique());
|
||||
ASSERT_EQ(pathClone.segments(), pathOval.segments());
|
||||
ASSERT_EQ(pathClone.points().size(), pathOval.points().size());
|
||||
ASSERT_NE(pathClone.points().data(), pathOval.points().data());
|
||||
|
||||
Reference in New Issue
Block a user