void () { assertEquals(Color.GRAY, mix(Color.BLACK, Color.WHITE, .5)); assertEquals(Color.LIGHT_GRAY, mix(Color.BLACK, Color.WHITE, .751)); assertEquals(Color.BLACK, mix(Color.BLACK, Color.WHITE, 0)); assertEquals(Color.WHITE, mix(Color.BLACK, Color.WHITE, 1)); assertEquals(Color.WHITE, mix(Color.WHITE, Color.WHITE, 0)); assertEquals(Color.WHITE, mix(Color.WHITE, Color.WHITE, .5)); assertEquals(withAlpha(Color.GRAY, .17), mix(withAlpha(Color.WHITE, .17), withAlpha(Color.BLACK, .17), .5)); }