Tests
Class ConversionTest

java.lang.Object
  extended by Tests.ConversionTest

public class ConversionTest
extends java.lang.Object

Version:
1.00 The Conversion Test class tests the functionality of the Conversion class to remove the punctuation from a String.
Author:
Jonathan Field jof2@aber.ac.uk 073717922

Constructor Summary
ConversionTest()
           
 
Method Summary
 void setUp()
           
 void testRemovePunctuation()
          Two words with punctuation in them are created as Strings, these strings are then converted to remove punctuation using the ConversionTest.removePuncation() method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversionTest

public ConversionTest()
Method Detail

setUp

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

testRemovePunctuation

public void testRemovePunctuation()
Two words with punctuation in them are created as Strings, these strings are then converted to remove punctuation using the ConversionTest.removePuncation() method. This returns a string that has had the puncuation removed, the converted Strings are then compared to the original word but with the punctuation removed.