Tools for testing (sknano.testing
)¶
Introduction¶
This module contains test fixtures for unit testing.
Contents¶
Reference/API¶
sknano.testing Package¶
Functions¶
generate_atoms (*args[, elements, ...]) |
Helper function to generate sequence of atoms for testing purposes. |
generate_structure (*args[, generator_class]) |
Helper function to generate StructureData for running unit tests. |
Classes¶
AtomsTestFixture ([methodName]) |
Mixin TestCase class for sknano.core.atoms unit tests. |
DUMPTestFixture ([methodName]) |
Mixin TestCase class for DUMPData unit tests. |
GeneratorTestFixture ([methodName]) |
Mixin TestCase class for sknano.generators tests. |
Geometric2DRegionsTestFixture ([methodName]) |
Mixin TestCase class for Geometric2DRegion unit tests. |
Geometric3DRegionsTestFixture ([methodName]) |
Mixin TestCase class for Geometric3DRegion unit tests. |
GeometricRegionsTestFixture ([methodName]) |
Mixin TestCase class for sknano.core.geometric_regions unit tests. |
IOTestFixture ([methodName]) |
Mixin TestCase class for sknano.io unit tests. |
TempfileTestFixture ([methodName]) |
Mixin TestCase class for sknano.io unit tests. |
Timer ([func]) |
Stopwatch Timer class. |
Class Inheritance Diagram¶