mame/tests/lib/util/options.cpp
Miodrag Milanovic 75c6c0f059 Make executable for test follow rules for main file (nw)
Make normal notation for require (nw)
Split properly tests (nw)
2016-11-12 14:54:21 +01:00

15 lines
313 B
C++

#include "catch.hpp"
#include "options.h"
TEST_CASE("Empty options should return first as nullptr", "[util]")
{
core_options options;
REQUIRE(options.first() == nullptr);
}
TEST_CASE("Empty options should have iterators same", "[util]")
{
core_options options;
REQUIRE(options.begin() == options.end());
}