mirror of
https://github.com/7800-devtools/a7800.git
synced 2025-04-02 10:52:37 -04:00
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());
|
|
}
|