From abe2a37b6fada036d81ee0114b7e180c5b3ece8b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 24 May 2023 13:30:08 -0600 Subject: [PATCH] [varStore] Add another test --- Tests/varLib/varStore_test.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Tests/varLib/varStore_test.py b/Tests/varLib/varStore_test.py index b78ce47f8..02dfb2dd7 100644 --- a/Tests/varLib/varStore_test.py +++ b/Tests/varLib/varStore_test.py @@ -121,6 +121,23 @@ def buildAxis(axisTag): 1, 180, ), + ( + 5, + [ + [0, 11, 12, 0, 20], + [0, 13, 12, 0, 20], + [0, 14, 12, 0, 20], + [0, 15, 12, 0, 20], + [0, 16, 12, 0, 20], + [10, 300, 0, 0, 20], + [10, 301, 0, 0, 20], + [10, 302, 0, 0, 20], + [10, 303, 0, 0, 20], + [10, 304, 0, 0, 20], + ], + 2, + 206, + ), ], ) def test_optimize(numRegions, varData, expectedNumVarData, expectedBytes):