mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Fix building mametest
This commit is contained in:
parent
0d57290b58
commit
aa71323e33
1 changed files with 2 additions and 8 deletions
|
@ -2,14 +2,8 @@
|
||||||
|
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
|
|
||||||
TEST_CASE("Empty options should return first as nullptr", "[util]")
|
TEST_CASE("Empty options should return size of zero", "[util]")
|
||||||
{
|
{
|
||||||
core_options options;
|
core_options options;
|
||||||
REQUIRE(options.first() == nullptr);
|
REQUIRE(options.entries().size() == 0);
|
||||||
}
|
|
||||||
|
|
||||||
TEST_CASE("Empty options should have iterators same", "[util]")
|
|
||||||
{
|
|
||||||
core_options options;
|
|
||||||
REQUIRE(options.begin() == options.end());
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue