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

Function init

2. Add Two Numbers/src/main.rs:161–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159
160 #[test]
161 fn init() {
162 assert_eq!(ListNode::new(123), ListNode{val:123, next: None});
163 }
164
165 #[test]
166 fn hund() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected