Skip to content

Commit 0b31b09

Browse files
committed
Uncomment tests for currently unavailable Botania methods
1 parent f8d7c75 commit 0b31b09

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

src/testMod/resources/data/advancedperipheralstest/computer/tests/modintegrtest.botaniaflower.lua

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ test.eq(entropinnyum.getMaxMana(), entropinnyum.getMana(), "Entropinnyum should
1313
test.eq(6500, entropinnyum.getMaxMana(), "Entropinnyum should have a max mana of 6500")
1414
-- test.assert(entropinnyum.isOnEnchantedSoil(), "Entropinnyum should be on enchanted soil") TODO: the function is currently broken
1515
test.assert(not entropinnyum.isFloating(), "Entropinnyum should not be floating")
16-
if entropinnyum.isFull and entropinnyum.isEmpty then
17-
test.assert(entropinnyum.isFull(), "Entropinnyum should be full")
18-
test.assert(not entropinnyum.isEmpty(), "Entropinnyum should not be empty")
19-
end
16+
-- test.assert(entropinnyum.isFull(), "Entropinnyum should be full") TODO: uncomment for 1.20.1 AP versions
17+
-- test.assert(not entropinnyum.isEmpty(), "Entropinnyum should not be empty") TODO: uncomment for 1.20.1 AP versions
2018

2119
-- Test for Endoflame (Flower has no mana stored and is on normal soil)
2220
test.eq("manaFlower", peripheral.getType("right"), "Peripheral should be manaFlower")
@@ -27,10 +25,8 @@ test.eq(0, endoflame.getMana(), "Endoflame should have no mana")
2725
test.eq(300, endoflame.getMaxMana(), "Endoflame should have a max mana of 300")
2826
-- test.assert(not endoflame.isOnEnchantedSoil(), "Endoflame should not be on enchanted soil") TODO: the function is currently broken
2927
test.assert(not endoflame.isFloating(), "Endoflame should not be floating")
30-
if endoflame.isFull and endoflame.isEmpty then
31-
test.assert(not endoflame.isFull(), "Endoflame should not be full")
32-
test.assert(endoflame.isEmpty(), "Endoflame should be empty")
33-
end
28+
-- test.assert(not endoflame.isFull(), "Endoflame should not be full") TODO: uncomment for 1.20.1 AP versions
29+
-- test.assert(endoflame.isEmpty(), "Endoflame should be empty") TODO: uncomment for 1.20.1 AP versions
3430

3531
-- Test for Kekimurus (Flower has 1800 mana stored and is floating)
3632
test.eq("manaFlower", peripheral.getType("back"), "Peripheral should be manaFlower")
@@ -41,7 +37,5 @@ test.eq(1800, kekimurus.getMana(), "Kekimurus should have 1800 mana")
4137
test.eq(9001, kekimurus.getMaxMana(), "Kekimurus should have a max mana of 9001")
4238
-- test.assert(not kekimurus.isOnEnchantedSoil(), "Kekimurus should not be on enchanted soil") TODO: the function is currently broken
4339
test.assert(kekimurus.isFloating(), "Kekimurus should be floating")
44-
if kekimurus.isFull and kekimurus.isEmpty then
45-
test.assert(not kekimurus.isFull(), "Kekimurus should not be full")
46-
test.assert(not kekimurus.isEmpty(), "Kekimurus should not be empty")
47-
end
40+
-- test.assert(not kekimurus.isFull(), "Kekimurus should not be full") TODO: uncomment for 1.20.1 AP versions
41+
-- test.assert(not kekimurus.isEmpty(), "Kekimurus should not be empty") TODO: uncomment for 1.20.1 AP versions

0 commit comments

Comments
 (0)