feat: add wooden fish play template
This commit is contained in:
@@ -251,6 +251,25 @@ mod tests {
|
||||
assert_eq!(bark_battle.sort_order, 85);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn default_creation_entry_types_include_wooden_fish() {
|
||||
let configs = default_creation_entry_type_snapshots(1);
|
||||
let wooden_fish = configs
|
||||
.iter()
|
||||
.find(|item| item.id == "wooden-fish")
|
||||
.expect("wooden-fish creation entry should be seeded");
|
||||
|
||||
assert_eq!(wooden_fish.title, "敲木鱼");
|
||||
assert!(wooden_fish.visible);
|
||||
assert!(wooden_fish.open);
|
||||
assert_eq!(wooden_fish.badge, "可创建");
|
||||
assert_eq!(wooden_fish.sort_order, 47);
|
||||
assert_eq!(
|
||||
wooden_fish.image_src,
|
||||
"/wooden-fish/default-hit-object.png"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn normalized_clamps_music_volume_into_valid_range() {
|
||||
let low = RuntimeSettings::normalized(-1.0, RuntimePlatformTheme::Light);
|
||||
|
||||
Reference in New Issue
Block a user