use koto_runtime::{Result, prelude::*};
use koto_test_utils::run_koto_examples_in_markdown;

#[test]
fn geometry_docs() -> Result<()> {
    let mut prelude_entries = ValueMap::default();
    prelude_entries.insert("geometry".into(), koto_geometry::make_module().into());
    let markdown = include_str!(concat!(
        env!("CARGO_MANIFEST_DIR"),
        "/../../docs/libs/geometry.md"
    ));
    run_koto_examples_in_markdown(markdown, prelude_entries)
}
