view src/treecms/test/AbstractForestTest.java @ 25:c1e7ec6b3d44

commit
author Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
date Tue, 12 Jul 2011 14:39:35 +0900
parents 168deb591f21
children
line wrap: on
line source

package treecms.test;

import java.nio.ByteBuffer;
import java.util.List;
import java.util.Map;
import junit.framework.Assert;
import org.junit.Test;
import treecms.api.Forest;
import treecms.api.MonotonicTree;
import treecms.api.MonotonicTreeNode;
import treecms.api.NodeID;
import treecms.tree.util.NodeData;

public abstract class AbstractForestTest
{
	public abstract Forest getInstance();
	
	@Test
	public void testGetMainTree()
	{
		Forest f = getInstance();
		MonotonicTree t = f.getMainTree();
		
		Assert.assertNotNull(t);
	}
}