de.tuberlin.cs.cis.ocl.eval.instance.test
Class TestRealInstance

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.tuberlin.cs.cis.ocl.eval.instance.test.TestRealInstance
All Implemented Interfaces:
junit.framework.Test

public class TestRealInstance
extends junit.framework.TestCase

Testcase testing the class RealInstance.

Author:
fchabar

Constructor Summary
TestRealInstance(java.lang.String arg0)
          Constructor for TestRealInstance.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test.
 void testDivision()
          Tests the division of Real values.
 void testFloor()
          Tests the Real.floor() operation.
 void testRound()
          Tests the Real.round() operation.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestRealInstance

public TestRealInstance(java.lang.String arg0)
Constructor for TestRealInstance.

Parameters:
arg0 -
Method Detail

main

public static void main(java.lang.String[] args)
Starts the test.

Parameters:
args - no arguments required.

testFloor

public void testFloor()
Tests the Real.floor() operation.


testRound

public void testRound()
Tests the Real.round() operation.


testDivision

public void testDivision()
Tests the division of Real values.