ObjToSchematic/tests/palette.test.ts

10 lines
268 B
TypeScript
Raw Normal View History

import { Palette } from '../src/palette';
test('Palette', () => {
const myPalette = Palette.create();
myPalette.add('minecraft:stone');
expect(myPalette.count()).toBe(1);
myPalette.remove('minecraft:stone');
expect(myPalette.count()).toBe(0);
});