cc.mallet.grmm.test
Class TestAssignment

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cc.mallet.grmm.test.TestAssignment
All Implemented Interfaces:
junit.framework.Test

public class TestAssignment
extends junit.framework.TestCase

Created: Aug 11, 2004

Version:
$Id: TestAssignment.java,v 1.1 2007/10/22 21:37:40 mccallum Exp $
Author:
Constructor Summary
TestAssignment(java.lang.String name)
          Constructs a test case with the given name.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
 void testAddRowMixed()
           
 void testAsTable()
           
 void testMarginalize()
           
 void testMarginalizeOut()
           
 void testMultiRow()
           
 void testScale()
           
 void testScaleMarginalize()
           
 void testSerialization()
           
 void testSetRow()
           
 void testSetRowFromAssn()
           
 void testSetValue()
           
 void testSetValueDup()
           
 void testSetValueExpand()
           
 void testSimple()
           
 void testUnion()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAssignment

public TestAssignment(java.lang.String name)
Constructs a test case with the given name.

Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testSimple

public void testSimple()

testScale

public void testScale()

testScaleMarginalize

public void testScaleMarginalize()

testSerialization

public void testSerialization()
                       throws java.io.IOException,
                              java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

testMarginalize

public void testMarginalize()

testMarginalizeOut

public void testMarginalizeOut()

testUnion

public void testUnion()

testMultiRow

public void testMultiRow()

testSetRow

public void testSetRow()

testSetRowFromAssn

public void testSetRowFromAssn()

testSetValue

public void testSetValue()

testSetValueDup

public void testSetValueDup()

testSetValueExpand

public void testSetValueExpand()

testAsTable

public void testAsTable()

testAddRowMixed

public void testAddRowMixed()

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception