Bound placed ore verification
This commit is contained in:
parent
56a1a5f8d6
commit
641da0e078
1 changed files with 6 additions and 8 deletions
|
|
@ -14,9 +14,8 @@ func TestPlacedOresUseStoneAndDeepslateTargets(t *testing.T) {
|
|||
5308: "deepslate diamond ore",
|
||||
}
|
||||
counts := make(map[uint16]int)
|
||||
for cx := int32(-8); cx <= 8; cx += 4 {
|
||||
for cz := int32(-8); cz <= 8; cz += 4 {
|
||||
chunk := gen(cx, cz)
|
||||
for _, pos := range [][2]int32{{-8, -8}, {4, -4}} {
|
||||
chunk := gen(pos[0], pos[1])
|
||||
for y := MinY; y < 128; y++ {
|
||||
for x := 0; x < 16; x++ {
|
||||
for z := 0; z < 16; z++ {
|
||||
|
|
@ -25,7 +24,6 @@ func TestPlacedOresUseStoneAndDeepslateTargets(t *testing.T) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for state, name := range want {
|
||||
if counts[state] == 0 {
|
||||
t.Errorf("no %s generated by placed ore features", name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue