Files
kinect/tests/test_core.cpp
T
kinect-bot e6d4e510d3
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
feat(contract,spikes): frozen IPC data contract + Linux/Windows spikes (wave 2)
2026-11-25 03:54:41 -05:00

16 lines
655 B
C++

#include <gtest/gtest.h>
#include "contract/contract.h"
#include "mapping/mapping.h"
#include "synth/synth.h"
// Scaffold smoke test: proves libnui_core compiles, links, and its placeholder
// symbols are callable. Real per-module suites replace/extend this in todos 2/6/7.
TEST(ScaffoldSmoke, CoreSymbolsLinkAndReturnPlaceholders) {
EXPECT_EQ(nui::contract::contract_version(), static_cast<int>(nui::contract::kContractVersion));
EXPECT_EQ(nui::mapping::kinect_joint_count(), 20);
// Depth packing layout sanity: 1000mm, player 1 -> (1000<<3)|1.
EXPECT_EQ(nui::synth::pack_depth(1000, 1),
static_cast<uint16_t>((1000 << 3) | 1));
}