Reduce number of tests executed

It's honestly too many for the CI to handle right now, and this should
provide sufficient coverage for now.
This commit is contained in:
Octavia Togami 2020-06-23 12:01:42 -07:00
parent e93f20b6f4
commit df3937256e
No known key found for this signature in database
GPG Key ID: CC364524D1983C99
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
@DisplayName("A 3D block vector")
public class BlockVector3Test {
@VariedVectors.Test(capToVanilla = true, divisionsXZ = 50, divisionsY = 50)
@VariedVectors.Test(capToVanilla = true, divisionsXZ = 25, divisionsY = 25)
@DisplayName("survives a round-trip through long-packing")
void longPackingRoundTrip(BlockVector3 vec) {
assertEquals(vec, BlockVector3.fromLongPackedForm(vec.toLongPackedForm()));

View File

@ -33,9 +33,9 @@ public class VariedVectorGenerator {
// For better coverage assurance, increase these values for a local Gradle run.
// Don't do it for IntelliJ, it'll probably run out of memory.
private static final int DEFAULT_DIVISIONS_XZ =
Integer.getInteger("variedvecs.divisions.xz", 5);
Integer.getInteger("variedvecs.divisions.xz", 2);
private static final int DEFAULT_DIVISIONS_Y =
Integer.getInteger("variedvecs.divisions.y", 5);
Integer.getInteger("variedvecs.divisions.y", 2);
public final int divisionsXZ;
public final int divisionsY;