test: improved gradual testing for osu

This commit is contained in:
MaxOhn
2023-11-11 19:00:47 +01:00
parent afd1bdda9d
commit 037654c771
6 changed files with 49 additions and 85 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ static MAPS: OnceLock<[Beatmap; 4]> = OnceLock::new();
macro_rules! test_map {
($mode:ident) => {{
#[cfg(not(any(feature = "async_tokio", feature = "async_std")))]
{ common::test_map(GameMode::$mode) }
{ common::test_map(rosu_pp::GameMode::$mode) }
#[cfg(any(feature = "async_tokio", feature = "async_std"))]
{ common::test_map(GameMode::$mode).await }
{ common::test_map(rosu_pp::GameMode::$mode).await }
}};
}