Assert that toTest is equal to toCompareAgainst.
If T is a floating point approxEqual is used to compare the values.
toTest is returned if the comparision is correct.
If the comparision is incorrect an Exception is thrown. If assertEqual is used
in a unittest block an AssertError is thrown an Exception otherwise.
Assert that toTest is equal to toCompareAgainst. If T is a floating point approxEqual is used to compare the values. toTest is returned if the comparision is correct. If the comparision is incorrect an Exception is thrown. If assertEqual is used in a unittest block an AssertError is thrown an Exception otherwise.