MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / test_version

Function test_version

graphlite-ffi/src/lib.rs:418–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

416
417 #[test]
418 fn test_version() {
419 let version_ptr = graphlite_version();
420 assert!(!version_ptr.is_null());
421 let version = unsafe { CStr::from_ptr(version_ptr) };
422 assert_eq!(version.to_str().unwrap(), "0.1.0");
423 }
424
425 #[test]
426 fn test_null_pointer_handling() {

Callers

nothing calls this directly

Calls 1

graphlite_versionFunction · 0.85

Tested by

no test coverage detected