Skip to content

Commit d76046f

Browse files
committed
remove unused jasmine tests
1 parent 10f2a77 commit d76046f

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

test/jasmine/tests/surface_test.js

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -107,35 +107,6 @@ describe('Test surface', function() {
107107
expect(traceOut.colorbar).toBeDefined();
108108
});
109109

110-
it('should coerce \'c\' attributes with \'z\' if \'c\' isn\'t present', function() {
111-
traceIn = {
112-
z: [[1, 2, 3], [2, 1, 2]],
113-
zauto: false,
114-
zmin: 0,
115-
zmax: 10
116-
};
117-
118-
supplyDefaults(traceIn, traceOut, defaultColor, layout);
119-
expect(traceOut.cauto).toEqual(false);
120-
expect(traceOut.cmin).toEqual(0);
121-
expect(traceOut.cmax).toEqual(10);
122-
});
123-
124-
it('should coerce \'c\' attributes with \'c\' values regardless of `\'z\' if \'c\' is present', function() {
125-
traceIn = {
126-
z: [[1, 2, 3], [2, 1, 2]],
127-
zmin: 0,
128-
zmax: 10,
129-
cmin: -10,
130-
cmax: 20
131-
};
132-
133-
supplyDefaults(traceIn, traceOut, defaultColor, layout);
134-
expect(traceOut.cauto).toEqual(false);
135-
expect(traceOut.cmin).toEqual(-10);
136-
expect(traceOut.cmax).toEqual(20);
137-
});
138-
139110
it('should default \'c\' attributes with if \'surfacecolor\' is present', function() {
140111
traceIn = {
141112
z: [[1, 2, 3], [2, 1, 2]],

0 commit comments

Comments
 (0)