Activate full fish catalog
This commit is contained in:
parent
5ed4cccf76
commit
bb75121dcd
321 changed files with 1611 additions and 706 deletions
|
|
@ -43,7 +43,7 @@ func _run() -> void:
|
|||
func _validate_catalog() -> void:
|
||||
assert(CatalogResource.candidates.size() == 316)
|
||||
var ordered := LogbookCatalog.ordered_species(CatalogResource.candidates)
|
||||
assert(ordered.size() == 63)
|
||||
assert(ordered.size() == 313)
|
||||
var previous_number: int = 0
|
||||
var catalog_numbers: Dictionary[int, bool] = {}
|
||||
for fish: FishDataType in CatalogResource.candidates:
|
||||
|
|
@ -171,7 +171,7 @@ func _validate_page() -> void:
|
|||
var entries: Dictionary = page.get("_entry_buttons")
|
||||
assert(
|
||||
entries.size()
|
||||
== (26 if category == LogbookCatalog.Category.FRESH_WATER else 34)
|
||||
== (108 if category == LogbookCatalog.Category.FRESH_WATER else 202)
|
||||
)
|
||||
for fish: FishDataType in LogbookCatalog.ordered_species(
|
||||
CatalogResource.candidates
|
||||
|
|
@ -222,7 +222,7 @@ func _validate_page() -> void:
|
|||
candidate.display_name
|
||||
)
|
||||
)
|
||||
assert(silhouette_count == 60)
|
||||
assert(silhouette_count == 310)
|
||||
|
||||
page.call("_select_category", LogbookCatalog.Category.SHELLFISH)
|
||||
await create_timer(0.25).timeout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue