MCPcopy Create free account
hub / github.com/Noumena-Network/code / compares_python_versions

Function compares_python_versions

rust/py_repl_host/src/main.rs:486–490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

484
485 #[test]
486 fn compares_python_versions() {
487 assert_eq!(compare_version(&[3, 10, 0], &[3, 10, 0]), 0);
488 assert_eq!(compare_version(&[3, 12, 0], &[3, 10, 0]), 1);
489 assert_eq!(compare_version(&[3, 9, 9], &[3, 10, 0]), -1);
490 }
491}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected