Crates.io | xdlol |
lib.rs | xdlol |
version | 0.0.0 |
source | src |
created_at | 2018-07-08 17:55:08.276857 |
updated_at | 2018-07-08 17:55:08.276857 |
description | Tests to study random data. |
homepage | https://gitlab.com/starshell/xdlol |
repository | https://gitlab.com/starshell/xdlol |
max_upload_size | |
id | 73390 |
size | 52,841 |
THIS LIBRARY IS NOT READY FOR USE IN PRODUCTION OR WITH ANYTHING THAT NEEDS TO BE SECURE
If you need something to test randomness unfortunately I am not aware of any existing library for unit-testing or Rust specifically. Take a look at either Dieharder or ENT.
I am only pushing to crates.io now to easily include it in my project it is intended to be used in easily, and to test the API as it is developed in it.
Randomness tests.
XD lol, it is what people type when they think they are being random.
For testing sequences of bytes in unit tests or stored in files and producing reports of the results. It is useful for evaluating pseudorandom number generators for encryption and statistical sampling applications, compression algorithms, and other applications.
Add xdlol
as a dependency in your Cargo.toml
to use from crates.io:
[dependencies]
xdlol = "0.0.0"
Then add extern crate xdlol;
to your crate root and run cargo build
or cargo update && cargo build
for your project. Detailed documentation for releases can be found on docs.rs and the bleeding edge docs for the latest GitLab repository version can be found on GitLab pages.
extern crate xdlol;
use xdlol;
Examples can also be ran directly:
$ cargo run --example yes_no_with_defaults
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Running `target/debug/examples/yes_no_with_defaults`
See examples for more.
The project is mirrored to GitHub, but all development is done on GitLab. Please use the GitLab issue tracker. Don't have a GitLab account? Just email incoming+starshell/xdlol@gitlab.com
and those emails automatically become issues (with the comments becoming the email conversation).
To contribute to xdlol, please see CONTRIBUTING.
xdlol is distributed under the terms of the MPL 2.0 license. If this does not suit your needs for some reason please feel free to contact me, or open an issue.
See LICENSE.