geode/lib.rs
1#![allow(unused)]
2pub mod model;
3pub mod parse;
4pub mod shape;
5pub mod math;
6
7pub use model::GeoscienceModel;
8
9
10use std::error::Error as StdError;
11
12
13#[cfg(test)]
14mod tests {
15 use std::fs;
16
17 use super::*;
18
19 #[test]
20 fn test_parse_compositional_injection_basic() {
21 assert!(fs::read_to_string("example_configs/compositional-injection-basic.yaml").expect("example config file should be present")
22 .parse::<GeoscienceModel>().is_ok());
23 }
24}