forked from starnakin/IronGOLEM
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			344 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			344 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
main()
 | 
						|
{
 | 
						|
	local ptr;
 | 
						|
 | 
						|
	name = "ntoa_s";
 | 
						|
 | 
						|
	ptr = ntoa_s(9000);
 | 
						|
	test_str(ptr, "9000", "");
 | 
						|
	free(ptr);
 | 
						|
 | 
						|
	ptr = ntoa_s(55);
 | 
						|
	test_str(ptr, "55", "");
 | 
						|
	free(ptr);
 | 
						|
 | 
						|
	ptr = ntoa_s(0);
 | 
						|
	test_str(ptr, "0", "");
 | 
						|
	free(ptr);
 | 
						|
	
 | 
						|
	ptr = ntoa_s(0 - 55);
 | 
						|
	test_str(ptr, "-55", "");
 | 
						|
	free(ptr);
 | 
						|
	
 | 
						|
	ptr = ntoa_s(0 - 1);
 | 
						|
	test_str(ptr, "-1", "");
 | 
						|
	free(ptr);
 | 
						|
}
 |