16 lines
655 B
C++
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));
|
|
}
|