forked from mirror/ObjToSchematic
10 lines
270 B
TypeScript
10 lines
270 B
TypeScript
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);
|
|
});
|