Package cc.mallet.types.tests
Class TestHashedSparseVector
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- cc.mallet.types.tests.TestHashedSparseVector
-
- All Implemented Interfaces:
junit.framework.Test
public class TestHashedSparseVector extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description TestHashedSparseVector(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
protected void
setUp()
static junit.framework.Test
suite()
void
testBinaryVector()
void
testCloneMatrixZeroed()
void
testDotProduct()
void
testIncrementValue()
void
testPlusEquals()
void
testPlusEqualsAfterClone()
void
testSerializable()
void
testSetValue()
-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
-
-
-
-
Method Detail
-
testPlusEquals
public void testPlusEquals()
-
testPlusEqualsAfterClone
public void testPlusEqualsAfterClone()
-
testDotProduct
public void testDotProduct()
-
testIncrementValue
public void testIncrementValue()
-
testSetValue
public void testSetValue()
-
testBinaryVector
public void testBinaryVector()
-
testCloneMatrixZeroed
public void testCloneMatrixZeroed()
-
testSerializable
public void testSerializable() throws java.lang.Exception
- Throws:
java.lang.Exception
-
suite
public static junit.framework.Test suite()
-
setUp
protected void setUp()
- Overrides:
setUp
in classjunit.framework.TestCase
-
main
public static void main(java.lang.String[] args)
-
-