mirror of https://github.com/KaiserY/trpl-zh-cn
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							24 lines
						
					
					
						
							715 B
						
					
					
				
			
		
		
	
	
							24 lines
						
					
					
						
							715 B
						
					
					
				$ cargo test
 | 
						|
   Compiling adder v0.1.0 (file:///projects/adder)
 | 
						|
    Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s
 | 
						|
     Running unittests src/lib.rs (target/debug/deps/adder-1082c4b063a8fbe6)
 | 
						|
 | 
						|
running 1 test
 | 
						|
test tests::internal ... ok
 | 
						|
 | 
						|
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
 | 
						|
 | 
						|
     Running tests/integration_test.rs (target/debug/deps/integration_test-1082c4b063a8fbe6)
 | 
						|
 | 
						|
running 1 test
 | 
						|
test it_adds_two ... ok
 | 
						|
 | 
						|
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
 | 
						|
 | 
						|
   Doc-tests adder
 | 
						|
 | 
						|
running 0 tests
 | 
						|
 | 
						|
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
 | 
						|
 |