Class TestIndexedSparseVector

  • All Implemented Interfaces:
    junit.framework.Test

    public class TestIndexedSparseVector
    extends junit.framework.TestCase
    • 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 testEmptyLocations()  
      void testIncrementValue()  
      void testLocation()  
      void testPlusEquals()  
      void testSerializable()  
      void testSerializable2()  
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestIndexedSparseVector

        public TestIndexedSparseVector​(java.lang.String name)
    • Method Detail

      • testLocation

        public void testLocation()
      • testPlusEquals

        public void testPlusEquals()
      • testDotProduct

        public void testDotProduct()
      • testIncrementValue

        public void testIncrementValue()
      • testSetValue

        public void testSetValue()
      • testBinaryVector

        public void testBinaryVector()
      • testCloneMatrixZeroed

        public void testCloneMatrixZeroed()
      • testEmptyLocations

        public void testEmptyLocations()
      • testSerializable

        public void testSerializable()
                              throws java.io.IOException,
                                     java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • testSerializable2

        public void testSerializable2()
                               throws java.io.IOException,
                                      java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • suite

        public static junit.framework.Test suite()
      • setUp

        protected void setUp()
        Overrides:
        setUp in class junit.framework.TestCase
      • main

        public static void main​(java.lang.String[] args)