MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / basic

Function basic

64. Minimum Path Sum/src/main.rs:30–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29 #[test]
30 fn basic() {
31 assert_eq!(Solution::min_path_sum(vec![
32 vec![1,3,1],
33 vec![1,5,1],
34 vec![4,2,1]
35 ]), 7);
36 assert_eq!(Solution::min_path_sum(vec![
37 vec![1],
38 ]), 1);
39 }
40}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected