forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			22 lines
		
	
	
		
			523 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			523 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
| 
								 | 
							
								package;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class Native
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
									static function main()
							 | 
						||
| 
								 | 
							
								   {
							 | 
						||
| 
								 | 
							
										var r = new haxe.unit.TestRunner();
							 | 
						||
| 
								 | 
							
										r.add(new tests.TestStdio());
							 | 
						||
| 
								 | 
							
										r.add(new tests.TestRgb());
							 | 
						||
| 
								 | 
							
										r.add(new tests.TestRectangle());
							 | 
						||
| 
								 | 
							
										r.add(new tests.TestGlobalNamespace());
							 | 
						||
| 
								 | 
							
										r.add(new tests.TestNativeGen());
							 | 
						||
| 
								 | 
							
										r.add(new tests.TestNonVirtual());
							 | 
						||
| 
								 | 
							
										r.add(new tests.TestPtr());
							 | 
						||
| 
								 | 
							
										r.add(new tests.TestNativeEnum());
							 | 
						||
| 
								 | 
							
								      var t0 = haxe.Timer.stamp();
							 | 
						||
| 
								 | 
							
										var success = r.run();
							 | 
						||
| 
								 | 
							
								      trace(" Time : " + (haxe.Timer.stamp()-t0)*1000 );
							 | 
						||
| 
								 | 
							
										Sys.exit(success ? 0 : 1);
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 |