Sha256: a17af400e57c1c80e9b3aea02c3eb2fd63b35f6a188b18056188a255ff703f20
Contents?: true
Size: 542 Bytes
Versions: 9
Compression:
Stored size: 542 Bytes
Contents
describe("Material segment 'shadow_map'", function() { var context; var matr; beforeEach(function() { context = new Jax.Context(document.getElementById('canvas-element')); matr = new Jax.Material(); spyOn(matr, 'prepareShader').andCallThrough(); }); afterEach(function() { context.dispose(); }); it("should compile successfully", function() { matr.addLayer(new Jax.Material.ShadowMap()); new Jax.Mesh({material:matr}).render(context); expect(matr.prepareShader).toHaveBeenCalled(); }); });
Version data entries
9 entries across 9 versions & 1 rubygems