mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[repacker] add classdef size est. test that you can add the same class multiple times.
This commit is contained in:
parent
0ac9e7da39
commit
17b37f10d5
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ static void test_running_class_and_coverage_size_estimates () {
|
|||
graph::class_def_size_estimator_t estimator1(consecutive_map.iter());
|
||||
assert(check_add_class_def_size(estimator1, consecutive_map, 1, {1}));
|
||||
assert(check_add_class_def_size(estimator1, consecutive_map, 2, {1, 2}));
|
||||
assert(check_add_class_def_size(estimator1, consecutive_map, 2, {1, 2})); // check that adding the same class again works
|
||||
assert(check_add_class_def_size(estimator1, consecutive_map, 3, {1, 2, 3}));
|
||||
|
||||
estimator1.reset();
|
||||
|
|
Loading…
Add table
Reference in a new issue