sknano.testing.AtomsTestFixture.assertNotAlmostEqual

AtomsTestFixture.assertNotAlmostEqual(first, second, places=None, msg=None, delta=None)[source]

Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta.

Note that decimal places (from zero) are usually not the same as significant digits (measured from the most signficant digit).

Objects that are equal automatically fail.