mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 06:44:58 +00:00
Import SDL3CPlusPlus C++ game engine with: - SDL3 + bgfx rendering backend - Vulkan/Metal/DirectX shader support - MaterialX material system - Scene framework with ECS architecture - Comprehensive test suite (TDD approach) - Conan package management - CMake build system This provides the native C++ foundation for the Universal Platform's Game and 3D capability modules. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
609 B
JavaScript
Executable File
21 lines
609 B
JavaScript
Executable File
import { expect } from 'chai';;
|
|
import Module from './_build/JsMaterialXCore.js';
|
|
|
|
describe('Environ', () =>
|
|
{
|
|
let mx;
|
|
before(async () =>
|
|
{
|
|
mx = await Module();
|
|
});
|
|
|
|
it('Environment variables', () =>
|
|
{
|
|
expect(mx.getEnviron(mx.MATERIALX_SEARCH_PATH_ENV_VAR)).to.equal('');
|
|
mx.setEnviron(mx.MATERIALX_SEARCH_PATH_ENV_VAR, 'test');
|
|
expect(mx.getEnviron(mx.MATERIALX_SEARCH_PATH_ENV_VAR)).to.equal('test');
|
|
mx.removeEnviron(mx.MATERIALX_SEARCH_PATH_ENV_VAR);
|
|
expect(mx.getEnviron(mx.MATERIALX_SEARCH_PATH_ENV_VAR)).to.equal('');
|
|
});
|
|
});
|