source: class ParserTest {
  
  	static PrintStream out;
  	static MaxRubyAdapter ruby;
  	static Parser p;
  
  	@Test
  	public void testSingleValueRepetition() {
  
target: 		assertEquals(toAtomList(1, 1), toAtomList(p.parse("1*2")));
  		assertEquals(toAtomList(2, 2, 2), toAtomList(p.parse("2 * 3")));
  		assertEquals(toAtomList(3, 3, 3, 3), toAtomList(p.parse("(3)*4")));
  		assertEquals(toAtomList(3, 3, 3, 3), toAtomList(p.parse("(3)* 4")));
  		assertEquals(toAtomList(3, 3, 3, 3), toAtomList(p.parse("(3) *4")));
  		assertEquals(toAtomList(3, 3, 3, 3), toAtomList(p.parse("(3) * 4")));
  	}
  
  }