mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
readme + tests
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
[](https://github.com/FyroxEngine/Fyrox)
|
||||
|
||||
A feature-rich, production-ready, general purpose 2D/3D game engine written in Rust with a scene editor.
|
||||
_Formerly known as rg3d_
|
||||
|
||||
## Support
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ pub fn save_load<T: Visit>(test_name: &str, data: &mut T, data_default: &mut T)
|
||||
let (bin, txt) = {
|
||||
let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
|
||||
let root = PathBuf::from(manifest_dir).join("test_output");
|
||||
let _ = std::fs::create_dir(root);
|
||||
let _ = std::fs::create_dir(&root);
|
||||
(
|
||||
root.join(format!("{}.bin", test_name)),
|
||||
root.join(format!("{}.txt", test_name)),
|
||||
|
||||
Reference in New Issue
Block a user