diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/color_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/color_spec.rb b/test/color_spec.rb index 76ebe24..c2f2cfa 100644 --- a/test/color_spec.rb +++ b/test/color_spec.rb @@ -18,12 +18,6 @@ RSpec.describe Ruby2D::Color do expect(Ruby2D::Color.is_valid? [1, 0, 0.0, 1.0]).to eq true expect(Ruby2D::Color.is_valid? [1.0, 0, 0]).to eq false end - - it 'prevents color values that are out of range' do - expect(Ruby2D::Color.is_valid? [1.2, 0, 0, 0]).to eq false - expect(Ruby2D::Color.is_valid? [0, 0, -0.1, 0]).to eq false - expect(Ruby2D::Color.is_valid? [0, 0, 0, 2]).to eq false - end end describe '#new' do |
