int UtcDaliPropertyArrayEmptyP(void) { Property::Array array; DALI_TEST_CHECK( array.Empty() ); array.Reserve(3); DALI_TEST_CHECK( array.Empty() ); array.PushBack( 1 ); array.PushBack( "world" ); array.PushBack( 3 ); DALI_TEST_CHECK( !array.Empty() ); END_TEST; }
int UtcDaliPropertyArrayCapacityP(void) { Property::Array array; DALI_TEST_CHECK( array.Empty() ); array.Reserve(3); DALI_TEST_CHECK( 3 == array.Capacity() ); END_TEST; }
int UtcDaliPropertyArrayReserveP(void) { Property::Array array; DALI_TEST_CHECK( array.Empty() ); array.Reserve(3); DALI_TEST_CHECK( 3 == array.Capacity() ); DALI_TEST_CHECK( 0 == array.Size() ); array.PushBack( 1 ); array.PushBack( "world" ); array.PushBack( 3 ); END_TEST; }