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

Function basic

525. Contiguous Array/src/main.rs:48–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47 #[test]
48 fn basic() {
49 assert_eq!(Solution::find_max_length(vec![0,1]), 2);
50 assert_eq!(Solution::find_max_length(vec![0,1,1,1,1,0,1,1,1,1]), 2);
51 }
52}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected