mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-01 18:47:29 +02: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 <[email protected]> Signed-off-by: Pablo Alejandro <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]>
15 lines
208 B
C++
15 lines
208 B
C++
#include <gtest/gtest.h>
|
|
|
|
#include "kernel/yosys.h"
|
|
#include "kernel/log.h"
|
|
|
|
YOSYS_NAMESPACE_BEGIN
|
|
|
|
TEST(KernelLogTest, logvValidValues)
|
|
{
|
|
//TODO: Implement log test
|
|
EXPECT_EQ(7, 7);
|
|
}
|
|
|
|
YOSYS_NAMESPACE_END
|