summaryrefslogtreecommitdiffstatshomepage
path: root/tests/lib/util/options.cpp
blob: e971a564521a6b1d5c617a466ab6bb72fd1d9221 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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());
}