12 lines
411 B
C++
12 lines
411 B
C++
#include <gtest/gtest.h>
|
|
|
|
#include "contract/contract.h"
|
|
#include "synth/synth.h"
|
|
|
|
TEST(ScaffoldSmoke, CoreSymbolsLinkAndReturnExpectedValues) {
|
|
EXPECT_EQ(nui::contract::contract_version(), static_cast<int>(nui::contract::kContractVersion));
|
|
// 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));
|
|
}
|