use Rng;
use fs;
use path;
/// Only to be used as a helper in tests, this makes it easy to create a text file that will get
/// cleaned up by the borrow checker. It provides two important properties:
///
/// * A random filename - we need this because tests run in parallel and will step on each
/// other's runs otherwise.
///
/// * A `Drop` trait impl - this makes sure the files get cleaned up after the tests run. The
/// same functionality as an "after each" step in other test frameworks.
///
pub