spaghetti
This commit is contained in:
		
					parent
					
						
							
								051027a094
							
						
					
				
			
			
				commit
				
					
						a97e41f395
					
				
			
		
					 13 changed files with 101 additions and 2 deletions
				
			
		
							
								
								
									
										7
									
								
								moonhare_window/Cargo.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								moonhare_window/Cargo.toml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| [package] | ||||
| name = "moonhare_window" | ||||
| edition = "2024" | ||||
| version.workspace = true | ||||
| authors.workspace = true | ||||
| 
 | ||||
| [dependencies] | ||||
							
								
								
									
										14
									
								
								moonhare_window/src/lib.rs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								moonhare_window/src/lib.rs
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| pub fn add(left: u64, right: u64) -> u64 { | ||||
|     left + right | ||||
| } | ||||
| 
 | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use super::*; | ||||
| 
 | ||||
|     #[test] | ||||
|     fn it_works() { | ||||
|         let result = add(2, 2); | ||||
|         assert_eq!(result, 4); | ||||
|     } | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue