lyra-engine/lyra-resource/src/lib.rs

20 lines
294 B
Rust
Raw Normal View History

2023-09-12 18:25:33 +00:00
pub mod resource_manager;
pub mod resource;
pub mod texture;
pub mod loader;
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}