Skip to content

Commit 8315204

Browse files
committed
Fix test to match correct behavior
1 parent 6fad13c commit 8315204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/color/p5.Color.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ suite('p5.Color', function() {
754754
});
755755

756756
test('should correctly set RGB levels', function() {
757-
assert.deepEqual(c._color.coords, [39.3, 39.3, 39.3]);
757+
assert.deepEqual(c._color.coords, [0, 0, 39.3]);
758758
assert.equal(c._color.alpha, 0.275);
759759
});
760760
});
@@ -786,7 +786,7 @@ suite('p5.Color', function() {
786786
});
787787

788788
test('should correctly set RGB levels', function() {
789-
assert.deepEqual(c._color.coords, [39.3, 39.3, 39.3]);
789+
assert.deepEqual(c._color.coords, [0, 0, 39.3]);
790790
assert.equal(c._color.alpha, 0.275);
791791
});
792792
});

0 commit comments

Comments
 (0)