polybar-dwm/tests/unit_tests/x11/connection.cpp

11 lines
246 B
C++
Raw Normal View History

2016-11-02 19:22:45 +00:00
#include "x11/connection.hpp"
2016-10-24 23:47:00 +00:00
int main() {
using namespace lemonbuddy;
"id"_test = [] {
connection& conn{connection::configure().create<connection&>()};
expect(conn.id(static_cast<xcb_window_t>(0x12345678)) == "0x12345678");
};
}