cargo test运行单元测试,默认不显示输出信息,

因此println!的信息也不显示,如果要显示,需要使用

cargo test -- --nocapture