Newer
Older
Labyrinth / src / SampleMaps.spec.ts
import { expect } from "chai";
import { createSampleMaps } from "./SampleMaps";

describe("Validate sample maps", function(){
    const maps = createSampleMaps();

    for (const map of maps) {
        it(`validate map "${map.id}"`, function(){
            const validationResult = map.validate();
            expect(validationResult).to.be.empty;
        });
    }
});