@Test
	public void testDigitsAndNTY()
	{
		//tests characters 1-9 and 20,30,40,50,60,70,80,90
		EnglishNumber number = new EnglishNumber();
		assertNotNull(number);
		ArrayList<String> words = new ArrayList<String>();
		words.add("one");
	    words.add("hundred");
	    words.add("twenty");
	    words.add("three");
	    words.add("million");
	    words.add("four");
	    words.add("hundred");
	    words.add("fifty");
	    words.add("six");
	    words.add("thousand");
	    words.add("seven");
	    words.add("hundred");
	    words.add("eighty");
	    words.add("nine");
	    assertTrue(number.initialize(words));
        assertEquals(123456789, number.toInt());
        
        EnglishNumber number2 = new EnglishNumber();
        words = new ArrayList<String>();
		words.add("two");
	    words.add("hundred");
	    words.add("thirty");
	    words.add("one");
	    words.add("million");
	    words.add("five");
	    words.add("hundred");
	    words.add("sixty");
	    words.add("four");
	    words.add("thousand");
	    words.add("eight");
	    words.add("hundred");
	    words.add("ninety");
	    words.add("seven");
	    assertTrue(number2.initialize(words));
        assertEquals(231564897, number2.toInt());
        

        EnglishNumber number3 = new EnglishNumber();
        words = new ArrayList<String>();
		words.add("three");
	    words.add("hundred");
	    words.add("twelve");
	    words.add("million");
	    words.add("six");
	    words.add("hundred");
	    words.add("forty");
	    words.add("five");
	    words.add("thousand");
	    words.add("nine");
	    words.add("hundred");
	    words.add("seventy");
	    words.add("eight");
	    assertTrue(number3.initialize(words));
        assertEquals(312645978, number3.toInt());
		
	}