### Question:
ResistorColorDuo { int value(String[] colors) { throw new UnsupportedOperationException("Delete this statement and write your own implementation."); }    }### Answer:
@Test public void testBrownAndBlack() { String[] input = { "brown", "black" }; int expected = 10; int actual = resistorColorDuo.value(input); assertEquals(expected, actual); }
@Ignore("Remove to run test") @Test public void testBlueAndGrey() { String[] input = { "blue", "grey" }; int expected = 68; int actual = resistorColorDuo.value(input); assertEquals(expected, actual); }
@Ignore("Remove to run test") @Test public void testYellowAndViolet() { String[] input = { "yellow", "violet" }; int expected = 47; int actual = resistorColorDuo.value(input); assertEquals(expected, actual); }
@Ignore("Remove to run test") @Test public void testOrangeAndOrange() { String[] input = { "orange", "orange" }; int expected = 33; int actual = resistorColorDuo.value(input); assertEquals(expected, actual); }
@Ignore("Remove to run test") @Test public void testIgnoreAdditionalColors() { String[] input = { "green", "brown", "orange" }; int expected = 51; int actual = resistorColorDuo.value(input); assertEquals(expected, actual); }