18 lines
No EOL
400 B
C++
18 lines
No EOL
400 B
C++
#include "../src/core/seller.h"
|
|
|
|
#define BOOST_TEST_MODULE seller
|
|
|
|
#include <boost/test/included/unit_test.hpp>
|
|
|
|
using namespace boost::unit_test;
|
|
|
|
BOOST_AUTO_TEST_CASE( create_uuid_nil ) {
|
|
Seller seller{};
|
|
BOOST_TEST(seller.getUuid().is_nil() == true);
|
|
}
|
|
|
|
BOOST_AUTO_TEST_CASE(create_uuid) {
|
|
Seller seller{};
|
|
seller.createUuid();
|
|
BOOST_TEST(seller.getUuid().is_nil() == false);
|
|
} |