package ch04.d2;

import static org.junit.Assert.assertTrue;

import org.junit.Test;

/**
 * Created by: orangeman, Date: 3/10/16
 */
public class CellTest {

  @Test
  public void testCell() {
    Cell<String> a = new Cell<String>("one");
    Cell<Integer> b = new Cell<Integer>(2);
    assertTrue(a.getId() == 0 && b.getId() == 1 && Cell.getCount() == 2);
  }
}