TestNumericalNumber

From ApCoCoAWiki
Revision as of 16:38, 8 October 2009 by 132.231.10.65 (talk)

TestNumericalNumber

Compares two numerical numbers

Syntax

ApCoCoATest.TestNumericalNumber(Found: RAT, Expected: RAT, Eps: RAT)

Description

This function compares two numerical numbers and returns "TRUE", if the difference isn't greater than Eps.

  • @param Found: The numerical value that was computed

  • @param Expected: The numerical value that should be computed

  • @param Eps: The allowed difference between the two values

  • @return

The following parameter is optional:

  • @param Dil: Integer > 0, factor for dilation of the polyhedral P, to count the lattice points of the polyhedral n*P

Example