polybar-dwm/tests/unit_tests/x11/connection.cpp
2016-11-03 12:54:32 +01:00

11 lines
246 B
C++

#include "x11/connection.hpp"
int main() {
using namespace lemonbuddy;
"id"_test = [] {
connection& conn{connection::configure().create<connection&>()};
expect(conn.id(static_cast<xcb_window_t>(0x12345678)) == "0x12345678");
};
}