what is testing :S
This commit is contained in:
parent
b20f148fa6
commit
289637a370
@ -19,8 +19,6 @@ package baritone.pathing.calc.openset;
|
|||||||
|
|
||||||
import baritone.pathing.calc.PathNode;
|
import baritone.pathing.calc.PathNode;
|
||||||
import baritone.pathing.goals.Goal;
|
import baritone.pathing.goals.Goal;
|
||||||
import baritone.utils.pathing.BetterBlockPos;
|
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.junit.runners.Parameterized;
|
import org.junit.runners.Parameterized;
|
||||||
@ -91,14 +89,14 @@ public class OpenSetsTest {
|
|||||||
// can't use an existing goal
|
// can't use an existing goal
|
||||||
// because they use Baritone.settings()
|
// because they use Baritone.settings()
|
||||||
// and we can't do that because Minecraft itself isn't initted
|
// and we can't do that because Minecraft itself isn't initted
|
||||||
PathNode pn = new PathNode(new BetterBlockPos(0, 0, 0), new Goal() {
|
PathNode pn = new PathNode(0, 0, 0, new Goal() {
|
||||||
@Override
|
@Override
|
||||||
public boolean isInGoal(BlockPos pos) {
|
public boolean isInGoal(int x, int y, int z) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public double heuristic(BlockPos pos) {
|
public double heuristic(int x, int y, int z) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user