Swarm-NG  1.1
tests Directory Reference

Python unit testing.

More...

Files

file  bdb_concurrent.py [code]
 Testing that concurrent reads from a BDB log file works.
 
file  collision_course.py [code]
 Testing collision detection module by putting planets on the same orbit in opposite directions.
 
file  common.py [code]
 
file  parabolic_collision.py [code]
 Testing collision detection module by putting planets on a parabolic orbit.
 
file  run.py [code]
 Runner for all the unittests.
 
file  trivial.py [code]
 Trivial unit tests that basic features work.
 

Detailed Description

Python unit testing.

Unit tests for Swarm-NG library written in Python. The tests are run in make test. To run the tests defined here you can either use make pytest or execute run.py in this folder.