diff options
author | Walker Selby <git@walkerselby.com> | 2023-11-16 10:40:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 11:40:55 +0100 |
commit | 024cd40a3a3e98da87a1ce6eaaebd379f312cc72 (patch) | |
tree | f10ecf557c761c3504247aa6c572a91d7150aad7 /src/test/java | |
parent | ebfbe5d586c40663f58540cd7a0d428633c7298f (diff) | |
download | skyhanni-024cd40a3a3e98da87a1ce6eaaebd379f312cc72.tar.gz skyhanni-024cd40a3a3e98da87a1ce6eaaebd379f312cc72.tar.bz2 skyhanni-024cd40a3a3e98da87a1ce6eaaebd379f312cc72.zip |
Config Updates - Subcategories and Reformatting (#709)
Added new sub category stuff from moul config #709
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt index 0f2ad1fee..11b404e4c 100644 --- a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt +++ b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt @@ -1,6 +1,6 @@ package at.hannibal2.skyhanni.test.garden -import at.hannibal2.skyhanni.config.features.GardenConfig +import at.hannibal2.skyhanni.config.features.garden.GardenConfig import at.hannibal2.skyhanni.features.garden.visitor.VisitorTooltipParser import org.junit.jupiter.api.Test @@ -22,7 +22,9 @@ class VisitorToolTipParserTest { @Test fun testParseItemsNeeded() { - val parsedData = VisitorTooltipParser.parse(lore, GardenConfig()) + val parsedData = VisitorTooltipParser.parse(lore, + GardenConfig() + ) assert(parsedData.itemsNeeded.isNotEmpty()) { "Visitor items needed is ${parsedData.itemsNeeded.count()} instead of 1" } @@ -33,7 +35,9 @@ class VisitorToolTipParserTest { @Test fun testParseRewards() { - val parsedData = VisitorTooltipParser.parse(lore, GardenConfig()) + val parsedData = VisitorTooltipParser.parse(lore, + GardenConfig() + ) assert(parsedData.rewards.isNotEmpty()) { "Visitor rewards is ${parsedData.rewards.count()} instead of 6" } @@ -56,10 +60,12 @@ class VisitorToolTipParserTest { @Test fun testParseCopper() { - val parsedData = VisitorTooltipParser.parse(lore, GardenConfig()) + val parsedData = VisitorTooltipParser.parse(lore, + GardenConfig() + ) val copper = parsedData.rewards.get("Copper") assert(copper == 23) { "Visitor rewards does not contain 'Copper' with amount '23'" } } -}
\ No newline at end of file +} |