提交 52b3ce7f 编写于 作者: 梦境迷离's avatar 梦境迷离

rust leetcode 67 use assert

上级 67ee4688
......@@ -18,6 +18,6 @@ mod test {
fn add_binary() {
let ret = Solution::add_binary("10100000100100110110010000010101111011011001101110111111111101000000101111001110001111100001101".to_owned(),
"110101001011101110001111100110001010100001101011101010000011011011001011101111001100000011011110011".to_owned());
println!("{}", ret)
assert!(ret.as_str() == "110111101100010011000101110110100000011101000101011001000011011000001100011110011010010011000000000")
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册