Package com.opera.core.systems.model

Examples of com.opera.core.systems.model.OperaColor


public class OperaColorTest {

  @Test
  public void testSetHighRed() {
    OperaColor color = new OperaColor(120,110,100);
    color.setHighRed(255);
    assertEquals((Integer) 255, color.getHighRed());
  }
View Full Code Here


    assertEquals((Integer) 255, color.getHighRed());
  }

  @Test
  public void testSetLowRed() {
    OperaColor color = new OperaColor(120,110,100);
    color.setLowRed(255);
    assertEquals((Integer) 255, color.getLowRed());
  }
View Full Code Here

    assertEquals((Integer) 255, color.getLowRed());
  }

  @Test
  public void testSetHighGreen() {
    OperaColor color = new OperaColor(120,110,100);
    color.setHighGreen(255);
    assertEquals((Integer) 255, color.getHighGreen());
  }
View Full Code Here

    assertEquals((Integer) 255, color.getHighGreen());
  }

  @Test
  public void testSetLowGreen() {
    OperaColor color = new OperaColor(120,110,100);
    color.setLowGreen(255);
    assertEquals((Integer) 255, color.getLowGreen());
  }
View Full Code Here

    assertEquals((Integer) 255, color.getLowGreen());
  }

  @Test
  public void testSetHighBlue() {
    OperaColor color = new OperaColor(120,110,100);
    color.setHighBlue(255);
    assertEquals((Integer) 255, color.getHighBlue());
  }
View Full Code Here

    assertEquals((Integer) 255, color.getHighBlue());
  }

  @Test
  public void testSetLowBlue() {
    OperaColor color = new OperaColor(120,110,100);
    color.setLowBlue(255);
    assertEquals((Integer) 255, color.getLowBlue());
  }
View Full Code Here

TOP

Related Classes of com.opera.core.systems.model.OperaColor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.