@Test public void test06789Run() { Digital ourDigital = new Digital(); assertEquals( 6789, ourDigital.convertSeriesToInteger(" _ _ _ _ _ ", "| ||_ ||_||_|", "|_||_| ||_| |")); }
@Test public void testSeriesOfNums() { Digital ourDigital = new Digital(); assertEquals( 543210, ourDigital.convertSeriesToInteger( " _ _ _ _ ", "|_ |_| _| _| | | |", " _| | _||_ | |_|")); }
@Test public void testSingleNumber() { Digital ourDigital = new Digital(); assertEquals(8, ourDigital.convertSeriesToInteger(" _ ", "|_|", "|_|")); }