BitmapUtilsTest.java 533 B

123456789101112131415161718192021222324
  1. package com.owncloud.android.utils;
  2. import org.junit.Test;
  3. import java.io.File;
  4. import java.net.URL;
  5. import static org.junit.Assert.*;
  6. public class BitmapUtilsTest {
  7. @Test
  8. public void calculateHSL_assertCorrectRGBArrayReturned() throws Exception {
  9. int[] rgbArray = BitmapUtils.calculateHSL("Edvard");
  10. }
  11. @Test
  12. public void HSLtoRGB_assertCorrectRGBArrayReturned() throws Exception {
  13. int[] rgbArray = BitmapUtils.HSLtoRGB(300.0f, 90.0f, 99.0f, 1.0f);
  14. String format = "hello";
  15. }
  16. }