test: add asset path validity tests

This commit is contained in:
2025-08-12 17:05:01 -05:00
parent be5eec64c9
commit 1529a64588
3 changed files with 16 additions and 2 deletions

View File

@@ -3,8 +3,9 @@
//! On desktop, assets are embedded using include_bytes!; on Emscripten, assets are loaded from the filesystem.
use std::borrow::Cow;
use strum_macros::EnumIter;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, EnumIter)]
pub enum Asset {
Wav1,
Wav2,