Implement Shape#contains() and define unit tests for it.

This commit is contained in:
Jürg Lehni 2013-04-20 20:54:06 -07:00
parent 2793709935
commit 4b24690207
4 changed files with 21 additions and 6 deletions

View file

@ -123,7 +123,6 @@ test('Gray Color', function() {
compareNumbers(color.blue, 1, 'color.blue');
color.red = 0.5;
console.log(color + '');
compareNumbers(color.gray, 0.85045, 'color.gray');
color.green = 0.2;