Skip to content

Commit

Permalink
test: Make tst.clearlquantize.d more discriminating
Browse files Browse the repository at this point in the history
This test exercises both aggregation keys and the clear() action.
It has a .r.p postprocessing script that makes it insensitive to
whether clear() actually works.

Remove the .r.p file to simplify the test and make it more stringent.

Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
  • Loading branch information
euloh authored and kvanhees committed Jul 28, 2022
1 parent 1a9239d commit bb699e7
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 34 deletions.
95 changes: 94 additions & 1 deletion test/unittest/aggs/tst.clearlquantize.r
Original file line number Diff line number Diff line change
@@ -1 +1,94 @@
All populated as expected.
linear
value ------------- Distribution ------------- count
0 | 0
1 |@@@@@@@@ 1
2 |@@@@@@@@ 1
3 |@@@@@@@@ 1
4 |@@@@@@@@ 1
5 |@@@@@@@@ 1
6 | 0


exp
value ------------- Distribution ------------- count
0 | 0
1 |@@@@@@@@ 1
2 |@@@@@@@@@@@@@@@@ 2
4 |@@@@@@@@@@@@@@@@ 2
8 | 0


linear
value ------------- Distribution ------------- count
5 | 0
6 |@@@@@@@@ 1
7 |@@@@@@@@ 1
8 |@@@@@@@@ 1
9 |@@@@@@@@ 1
10 |@@@@@@@@ 1
11 | 0


exp
value ------------- Distribution ------------- count
2 | 0
4 |@@@@@@@@@@@@@@@@ 2
8 |@@@@@@@@@@@@@@@@@@@@@@@@ 3
16 | 0


linear
value ------------- Distribution ------------- count
10 | 0
11 |@@@@@@@@ 1
12 |@@@@@@@@ 1
13 |@@@@@@@@ 1
14 |@@@@@@@@ 1
15 |@@@@@@@@ 1
16 | 0


exp
value ------------- Distribution ------------- count
4 | 0
8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 5
16 | 0


linear
value ------------- Distribution ------------- count
15 | 0
16 |@@@@@@@@ 1
17 |@@@@@@@@ 1
18 |@@@@@@@@ 1
19 |@@@@@@@@ 1
20 |@@@@@@@@ 1
21 | 0


exp
value ------------- Distribution ------------- count
8 | 0
16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 5
32 | 0


linear
value ------------- Distribution ------------- count
20 | 0
21 |@@@@@@@@ 1
22 |@@@@@@@@ 1
23 |@@@@@@@@ 1
24 |@@@@@@@@ 1
25 |@@@@@@@@ 1
26 | 0


exp
value ------------- Distribution ------------- count
8 | 0
16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 5
32 | 0



33 changes: 0 additions & 33 deletions test/unittest/aggs/tst.clearlquantize.r.p

This file was deleted.

0 comments on commit bb699e7

Please sign in to comment.