mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Added modifications inside the main Makefile to refers the unit test Makefile. Added separated Makefile only for compiling unit tests. Added simple example of unit test. Signed-off-by: Charles Oliveira <18oliveira.charles@gmail.com> Signed-off-by: Pablo Alejandro <pabloabur@usp.br> Signed-off-by: Rodrigo Siqueira <siqueira@ime.usp.br>
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			218 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			218 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <gtest/gtest.h>
 | |
| 
 | |
| #include "kernel/yosys.h"
 | |
| #include "kernel/rtlil.h"
 | |
| 
 | |
| YOSYS_NAMESPACE_BEGIN
 | |
| 
 | |
| TEST(KernelRtlilTest, getReferenceValid)
 | |
| {
 | |
| 	//TODO: Implement rtlil test
 | |
| 	EXPECT_EQ(33, 33);
 | |
| }
 | |
| 
 | |
| YOSYS_NAMESPACE_END
 |