use intersections in this test, too

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026108 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-10-21 19:14:33 +00:00
parent c15e002d70
commit c684042025
1 changed files with 2 additions and 1 deletions

View File

@ -45,9 +45,10 @@ public class TestMinimize extends LuceneTestCase {
a2 = BasicOperations.complement(a2); a2 = BasicOperations.complement(a2);
// combine them in random ways // combine them in random ways
switch(random.nextInt(3)) { switch(random.nextInt(4)) {
case 0: return BasicOperations.concatenate(a1, a2); case 0: return BasicOperations.concatenate(a1, a2);
case 1: return BasicOperations.union(a1, a2); case 1: return BasicOperations.union(a1, a2);
case 2: return BasicOperations.intersection(a1, a2);
default: return BasicOperations.minus(a1, a2); default: return BasicOperations.minus(a1, a2);
} }
} }