mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-02-23 13:30:12 +08:00
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:
parent
e93f20b6f4
commit
df3937256e
@ -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()));
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user