Package src

Examples of src.Column


public class ColumnTest
{
  @Test
  public void emptyColumnShouldPrintEmptyState()
  {
    Column column = new Column(0);
    assertEquals("0: ", column.printState());
  }
View Full Code Here


  }
 
  @Test
  public void columnWithBoxAShouldPrintStateWithBoxA()
  {
    Column column = new Column(0);
    column.pileBox("a");
    assertEquals("0: a", column.printState());
  }
View Full Code Here

  }
 
  @Test
  public void columnWithTwoBoxes()
  {
    Column column = new Column(0);
    column.pileBox("a");
    column.pileBox("b");
    assertEquals("0: a b", column.printState());
  }
View Full Code Here

    assertEquals("0: a b", column.printState());
  }
 
  @Test
  public void removeBoxShould() throws Exception {
    Column column = new Column(0);
    column.pileBox("a");
   
    column.removeBox("a");
   
    assertEquals("0: ", column.printState());
  }
View Full Code Here

TOP

Related Classes of src.Column

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.