Add an OpenBLAS feature

This commit is contained in:
Marcin Mielniczuk 2023-10-08 14:00:38 +02:00
parent f79bc283d3
commit 99ebf2bea5
4 changed files with 20 additions and 0 deletions

View file

@ -100,3 +100,14 @@ impl Default for SystemInfo {
}
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_openblas() {
let info = SystemInfo::default();
assert_eq!(info.blas, cfg!(feature = "openblas"));
}
}