use blue_archive::Language; macro_rules! lang_test { ($test_name:ident, $language_type:expr) => { #[tokio::test] async fn $test_name() { assert!(blue_archive::fetch_all_enemies($language_type) .await .is_ok()) } }; } lang_test!(fetch_enemies_by_english, Language::English); lang_test!(fetch_enemies_by_japanese, Language::Japanese); lang_test!(fetch_enemies_by_chinese, Language::Chinese); lang_test!(fetch_enemies_by_korean, Language::Korean); lang_test!(fetch_enemies_by_thai, Language::Thai); lang_test!(fetch_enemies_by_taiwanese, Language::Taiwanese);