Skip to content

Commit 62ee0aa

Browse files
committed
Readd test for isOnEnchantedSoil on Botania Flowers now that the method works correctly
1 parent 1954f8e commit 62ee0aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test.assert(entropinnyum, "Peripheral not found")
1111

1212
test.eq(entropinnyum.getMaxMana(), entropinnyum.getMana(), "Entropinnyum should have full mana")
1313
test.eq(6500, entropinnyum.getMaxMana(), "Entropinnyum should have a max mana of 6500")
14-
-- test.assert(entropinnyum.isOnEnchantedSoil(), "Entropinnyum should be on enchanted soil") TODO: the function is currently broken
14+
test.assert(entropinnyum.isOnEnchantedSoil(), "Entropinnyum should be on enchanted soil")
1515
test.assert(not entropinnyum.isFloating(), "Entropinnyum should not be floating")
1616
-- test.assert(entropinnyum.isFull(), "Entropinnyum should be full") TODO: uncomment for 1.20.1 AP versions
1717
-- test.assert(not entropinnyum.isEmpty(), "Entropinnyum should not be empty") TODO: uncomment for 1.20.1 AP versions
@@ -23,7 +23,7 @@ test.assert(endoflame, "Peripheral not found")
2323

2424
test.eq(0, endoflame.getMana(), "Endoflame should have no mana")
2525
test.eq(300, endoflame.getMaxMana(), "Endoflame should have a max mana of 300")
26-
-- test.assert(not endoflame.isOnEnchantedSoil(), "Endoflame should not be on enchanted soil") TODO: the function is currently broken
26+
test.assert(not endoflame.isOnEnchantedSoil(), "Endoflame should not be on enchanted soil")
2727
test.assert(not endoflame.isFloating(), "Endoflame should not be floating")
2828
-- test.assert(not endoflame.isFull(), "Endoflame should not be full") TODO: uncomment for 1.20.1 AP versions
2929
-- test.assert(endoflame.isEmpty(), "Endoflame should be empty") TODO: uncomment for 1.20.1 AP versions
@@ -35,7 +35,7 @@ test.assert(kekimurus, "Peripheral not found")
3535

3636
test.eq(1800, kekimurus.getMana(), "Kekimurus should have 1800 mana")
3737
test.eq(9001, kekimurus.getMaxMana(), "Kekimurus should have a max mana of 9001")
38-
-- test.assert(not kekimurus.isOnEnchantedSoil(), "Kekimurus should not be on enchanted soil") TODO: the function is currently broken
38+
test.assert(not kekimurus.isOnEnchantedSoil(), "Kekimurus should not be on enchanted soil")
3939
test.assert(kekimurus.isFloating(), "Kekimurus should be floating")
4040
-- test.assert(not kekimurus.isFull(), "Kekimurus should not be full") TODO: uncomment for 1.20.1 AP versions
4141
-- test.assert(not kekimurus.isEmpty(), "Kekimurus should not be empty") TODO: uncomment for 1.20.1 AP versions

0 commit comments

Comments
 (0)