|
Software APIs
|
Go to the documentation of this file.
5 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_TEST_BASE_H_
6 #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_TEST_BASE_H_
15 #include "gtest/gtest.h"
21 #define EXPECT_DIF_OK(expr_) EXPECT_EQ(expr_, kDifOk)
26 #define ASSERT_DIF_OK(expr_) ASSERT_EQ(expr_, kDifOk)
31 #define EXPECT_DIF_BADARG(expr_) EXPECT_EQ(expr_, kDifBadArg)
36 #define ASSERT_DIF_BADARG(expr_) ASSERT_EQ(expr_, kDifBadArg)
41 #define EXPECT_DIF_LOCKED(expr_) EXPECT_EQ(expr_, kDifLocked)
46 #define EXPECT_DIF_OUTOFRANGE(expr_) EXPECT_EQ(expr_, kDifOutOfRange)
48 #endif // OPENTITAN_SW_DEVICE_LIB_DIF_DIF_TEST_BASE_H_