Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Abeshouse <[email protected]>
  • Loading branch information
Adam Abeshouse committed Jun 11, 2021
1 parent 38e8fa1 commit 73d732a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/gradientCategoricalRuleset.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ describe("GradientCategoricalRuleSet", function() {
var mixRuleSet = OncoprintRuleSet(mixParams);
var elements = mixRuleSet.apply([gradientDatumLargest, gradientDatumSmallest, naDatum], 12, 12, undefined, "id");
assert.equal(elements.length, 3);
assert.equal(elements[0][0].fill,[0,255,0,1]);
assert.equal(elements[1][0].fill,[255,0,0,1]);
assert.equal(elements[2][0].fill,[224,224,224,1]);
assert.deepEqual(elements[0][0].fill,[0,255,0,1]);
assert.deepEqual(elements[1][0].fill,[255,0,0,1]);
assert.deepEqual(elements[2][0].fill,[224,224,224,1]);
});

it("Formats categorical value", function() {
Expand Down

0 comments on commit 73d732a

Please sign in to comment.