parent
7fc735525d
commit
60630cf7c4
|
@ -47,7 +47,6 @@ stages:
|
|||
- stage: Build_x86
|
||||
displayName: Build x86
|
||||
dependsOn: []
|
||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||
jobs:
|
||||
- template: ./templates/build-console-ci.yml
|
||||
parameters:
|
||||
|
|
|
@ -23,14 +23,14 @@ class BaseTests
|
|||
|
||||
Log::Comment(L"Expand vector.");
|
||||
til::manage_vector(foo, 30, shrinkThreshold);
|
||||
VERIFY_ARE_EQUAL(30, foo.capacity());
|
||||
VERIFY_ARE_EQUAL(30u, foo.capacity());
|
||||
|
||||
Log::Comment(L"Try shrink but by not enough for threshold.");
|
||||
til::manage_vector(foo, 18, shrinkThreshold);
|
||||
VERIFY_ARE_EQUAL(30, foo.capacity());
|
||||
VERIFY_ARE_EQUAL(30u, foo.capacity());
|
||||
|
||||
Log::Comment(L"Shrink because it is meeting threshold.");
|
||||
til::manage_vector(foo, 15, shrinkThreshold);
|
||||
VERIFY_ARE_EQUAL(15, foo.capacity());
|
||||
VERIFY_ARE_EQUAL(15u, foo.capacity());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue