seeding expansion
also: replace energy output with energy output density
This commit is contained in:
@@ -7,9 +7,11 @@ from physcom.models.entity import Entity
|
||||
|
||||
|
||||
def test_generates_cartesian_product(seeded_repo):
|
||||
from physcom.seed.transport_example import PLATFORMS, POWER_SOURCES
|
||||
|
||||
combos = generate_combinations(seeded_repo, ["platform", "power_source"])
|
||||
# 9 platforms x 9 power sources = 81
|
||||
assert len(combos) == 81
|
||||
expected = len(PLATFORMS) * len(POWER_SOURCES)
|
||||
assert len(combos) == expected
|
||||
|
||||
|
||||
def test_each_combo_has_one_per_dimension(seeded_repo):
|
||||
|
||||
Reference in New Issue
Block a user