Files
Grinch-AP/worlds/stardew_valley/test/TestBundles.py
agilbert1412 5eadbc9840 Major Game Update: Stardew Valley v3.x.x - The BK Update (#1686)
This is a major update for Stardew Valley, for version 3.x.x.
Changes include a large number of new features, including Seasons Randomizer, SeedShuffle, Museumsanity, Friendsanity, Complete Collection Goal, Full House Goal, friendship multiplier

Co-authored-by: Jouramie <jouramie@hotmail.com>
2023-04-11 01:44:59 +02:00

17 lines
516 B
Python

import unittest
from ..data.bundle_data import all_bundle_items
class TestBundles(unittest.TestCase):
def test_all_bundle_items_have_3_parts(self):
for bundle_item in all_bundle_items:
name = bundle_item.item.name
assert len(name) > 0
id = bundle_item.item.item_id
assert (id > 0 or id == -1)
amount = bundle_item.amount
assert amount > 0
quality = bundle_item.quality
assert quality >= 0