mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 09:06:58 +00:00
lottie: rename all isEmpty() api to empty() for consistancy.
Change-Id: Id3dddbd920ff00c7beafe0abd17f6da73442195b
This commit is contained in:
@@ -42,16 +42,16 @@ TEST_F(VRegionTest, moveSemantics) {
|
||||
rgn1 = rect1;
|
||||
VRegion tmp;
|
||||
tmp = std::move(rgn1);
|
||||
ASSERT_TRUE(rgn1.isEmpty());
|
||||
ASSERT_TRUE(rgn1.empty());
|
||||
|
||||
// move construction
|
||||
rgn1 = rect1;
|
||||
VRegion mvrgn = std::move(rgn1);
|
||||
ASSERT_TRUE(rgn1.isEmpty());
|
||||
ASSERT_TRUE(rgn1.empty());
|
||||
ASSERT_TRUE(mvrgn == rect1);
|
||||
}
|
||||
TEST_F(VRegionTest, isEmpty) {
|
||||
ASSERT_TRUE(emptyRgn.isEmpty());
|
||||
ASSERT_TRUE(emptyRgn.empty());
|
||||
ASSERT_TRUE(emptyRgn == VRegion());
|
||||
ASSERT_TRUE(emptyRgn.rectCount() == 0);
|
||||
ASSERT_TRUE(emptyRgn.boundingRect() == VRect());
|
||||
|
||||
Reference in New Issue
Block a user