aima.test.learningtest
Class DataSetTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by aima.test.learningtest.DataSetTest
All Implemented Interfaces:
junit.framework.Test

public class DataSetTest
extends junit.framework.TestCase


Constructor Summary
DataSetTest()
           
 
Method Summary
 void testFindsFileCorrectly()
           
 void testLoadsIrisDataSetWithNumericAndStringAttributes()
           
 void testNonDestructiveRemoveExample()
           
 void testNumerizesAndDeNumerizesIrisDataSetExample1()
           
 void testNumerizesAndDeNumerizesIrisDataSetExample2()
           
 void testNumerizesAndDeNumerizesIrisDataSetExample3()
           
 void testThrowsExceptionForNonExistentFile()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSetTest

public DataSetTest()
Method Detail

testFindsFileCorrectly

public void testFindsFileCorrectly()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testThrowsExceptionForNonExistentFile

public void testThrowsExceptionForNonExistentFile()
                                           throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

testLoadsIrisDataSetWithNumericAndStringAttributes

public void testLoadsIrisDataSetWithNumericAndStringAttributes()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testNonDestructiveRemoveExample

public void testNonDestructiveRemoveExample()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testNumerizesAndDeNumerizesIrisDataSetExample1

public void testNumerizesAndDeNumerizesIrisDataSetExample1()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testNumerizesAndDeNumerizesIrisDataSetExample2

public void testNumerizesAndDeNumerizesIrisDataSetExample2()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testNumerizesAndDeNumerizesIrisDataSetExample3

public void testNumerizesAndDeNumerizesIrisDataSetExample3()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception