mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
75c6c0f059
Make normal notation for require (nw) Split properly tests (nw)
15 lines
313 B
C++
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());
|
|
}
|