seeding expansion
also: replace energy output with energy output density
This commit is contained in:
@@ -79,10 +79,12 @@ def test_combination_save_and_dedup(repo):
|
||||
|
||||
|
||||
def test_seed_loads(seeded_repo):
|
||||
from physcom.seed.transport_example import PLATFORMS, POWER_SOURCES, ALL_DOMAINS
|
||||
|
||||
platforms = seeded_repo.list_entities(dimension="platform")
|
||||
power_sources = seeded_repo.list_entities(dimension="power_source")
|
||||
assert len(platforms) == 9
|
||||
assert len(power_sources) == 9
|
||||
assert len(platforms) == len(PLATFORMS)
|
||||
assert len(power_sources) == len(POWER_SOURCES)
|
||||
|
||||
domains = seeded_repo.list_domains()
|
||||
assert len(domains) == 2
|
||||
assert len(domains) == len(ALL_DOMAINS)
|
||||
|
||||
Reference in New Issue
Block a user