From 44d46e45a1bcfbec8d7be2a74eab2304b819cc89 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 25 Mar 2024 01:45:46 +0000 Subject: [PATCH] tests: comment the functionality --- tests/test.c | 5 +++++ tests/test.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/tests/test.c b/tests/test.c index b6be478..6f17443 100644 --- a/tests/test.c +++ b/tests/test.c @@ -6,6 +6,11 @@ void logFunction(enum eHyprcursorLogLevel level, char* message) { printf("[hc] %s\n", message); } +/* + hyprlang-test in C. + Renders a cursor shape to /tmp at 48px +*/ + int main(int argc, char** argv) { struct hyprcursor_manager_t* mgr = hyprcursor_manager_create_with_logger(NULL, logFunction); diff --git a/tests/test.cpp b/tests/test.cpp index b404674..0ba938c 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -5,6 +5,11 @@ void logFunction(enum eHyprcursorLogLevel level, char* message) { std::cout << "[hc] " << message << "\n"; } +/* + hyprlang-test in C++. + Renders a cursor shape to /tmp at 48px +*/ + int main(int argc, char** argv) { Hyprcursor::CHyprcursorManager mgr(nullptr, logFunction);