3 import static org.junit.Assert.fail;
7 import java.util.Arrays;
15 public class UtilsTest {
21 public void testLinspace() {
33 public void testRange() {
34 fail(
"Not yet implemented");
38 public void testColorGen() {
40 ColorGenerator cg =
new ColorGenerator();
41 Log.d(
"VisData",
"Default colors of size " + s +
": " + Arrays.toString(cg.getDefaultColor(s)));
Provides a Log class imitating the Android Log class when not used on android systems.
The color generator is used to produce RGBA (RGB+Alpha) values from a given array of floats...