Sha256: f22c2a5a44aa45be32a9d4355fef3f60a161204f055c260bf8f669607674c910
Contents?: true
Size: 531 Bytes
Versions: 9
Compression:
Stored size: 531 Bytes
Contents
describe("Material segment 'fog'", 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.Fog({})); new Jax.Mesh({material:matr}).render(context); expect(matr.prepareShader).toHaveBeenCalled(); }); });
Version data entries
9 entries across 9 versions & 1 rubygems