mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
16 lines
313 B
C++
16 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());
|
|
}
|