You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_color.rb
    path of file: ./repos/gosu/test
    
    the code of the file until where you have to start completion: require_relative "test_helper"

cl
    
  def test_color_attribute_ranges
    # alpha, red, green, blue are clamped to 0..255.
    assert_equal Gosu::Color::WHITE, Gosu::Color.new(300, 300, 300, 300)
    assert_equal Gosu::Color::NONE,  Gosu::Color.new(-50, -50, -50, -50)

    # hue wraps(!) at 360, so 361 is the same as 1.
    assert_equal Gosu::Color.from_ahsv(100, 1, 1.0, 1.0), Gosu::Color.from_ahsv(100, 361, 1.0, 1.0)

    # saturation and value are clamped to 0.0..1.0 (since commit 01120e92f7a3).
    assert_equal Gosu::Color.from_ahsv(100, 1, 1.0, 1.0), Gosu::Color.from_ahsv(100, 361,  2.0,  2.0)
    assert_equal Gosu::Color.from_ahsv(100, 1, 0.0, 0.0), Gosu::Color.from_ahsv(100, 361, -1.0, -1.0)
  end