add more unit tests
This commit is contained in:
		
							parent
							
								
									8426698b9f
								
							
						
					
					
						commit
						c61c267b02
					
				
					 8 changed files with 167 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,5 @@
 | 
			
		|||
use clap::Parser;
 | 
			
		||||
 | 
			
		||||
use servicepoint2::{ByteGrid, Command, Connection, Origin};
 | 
			
		||||
 | 
			
		||||
#[derive(Parser, Debug)]
 | 
			
		||||
| 
						 | 
				
			
			@ -43,6 +44,6 @@ fn main() {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    connection
 | 
			
		||||
        .send(Command::Cp437Data(Origin::top_left(), chars).into())
 | 
			
		||||
        .send(Command::Cp437Data(Origin(0, 0), chars).into())
 | 
			
		||||
        .unwrap();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue