blob: ebcfbc39aa8879456e76ce9634535330b845927f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include <doctest/doctest.h>
#include <unbox/kernel/kernel.hpp>
TEST_CASE("kernel compiles against and links wlroots + libwayland-server") {
CHECK(unbox::kernel::link_probe());
CHECK(unbox::kernel::wlroots_version().substr(0, 4) == "0.20");
}
TEST_CASE("vendored RMLUi subproject compiled and linked") {
CHECK(!unbox::kernel::rmlui_version().empty());
}
|