Sha256: a1457f8fa9dd4f03eecec65f3bea42e72cefecc5d571049feaa8f1c6d2c03c77

Contents?: true

Size: 825 Bytes

Versions: 4

Compression:

Stored size: 825 Bytes

Contents

describe("Shader 'blob'", function() {
  var context, material, mesh;
  
    beforeEach(function() {
      context = new Jax.Context('webgl-canvas');
      mesh = new Jax.Mesh.Quad();
    });
  
    afterEach(function() { context.dispose(); });
  
    describe("stand-alone", function() {
      beforeEach(function() { mesh.material = new Jax.Material.Blob(); });
  
      xit("should render without error", function() {
        expect(function() { mesh.render(context); }).not.toThrow();
      });
    });
  
    describe("as a layer", function() {
      beforeEach(function() {
        mesh.material = new Jax.Material({layers:[{
          type:"Blob"
        }]});
      });
  
      xit("should render without error", function() {
        expect(function() { mesh.render(context); }).not.toThrow();
      });
    });
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jax-0.0.0.8 spec/example_app/spec/javascripts/shaders/blob_spec.js
jax-0.0.0.7 spec/example_app/spec/javascripts/shaders/blob_spec.js
jax-0.0.0.6 spec/example_app/spec/javascripts/shaders/blob_spec.js
jax-0.0.0.5 spec/example_app/spec/javascripts/shaders/blob_spec.js