third_party/skia_m84/third_party/externals/angle2/src/common/FastVector_unittest.cpp
// Tests that equality comparisons work even if reserved size differs.
Tests that equality comparisons work even if reserved size differs.
Tests that equality comparisons work even if reserved size differs .
TEST(FastVector, EqualityWithDifferentReservedSizes)
{
    FastVector<int, 3> vec1 = {1, 2, 3, 4, 5};
    FastVector<int, 5> vec2 = {1, 2, 3, 4, 5};
    EXPECT_EQ(vec1, vec2);
    vec2.push_back(6);
    EXPECT_NE(vec1, vec2);
}
TEST ( FastVector , EqualityWithDifferentReservedSizes ) { FastVector < int , 3 > vec1 = { 1 , 2 , 3 , 4 , 5 } ; FastVector < int , 5 > vec2 = { 1 , 2 , 3 , 4 , 5 } ; EXPECT_EQ ( vec1 , vec2 ) ; vec2 . push_back ( 6 ) ; EXPECT_NE ( vec1 , vec2 ) ; }
Tests that equality comparisons work even if reserved size differs.
Tests that equality comparisons work even if reserved size differs .