| Crates.io | specjam |
| lib.rs | specjam |
| version | 0.0.12 |
| created_at | 2025-01-08 18:05:33.449916+00 |
| updated_at | 2025-05-10 17:14:10.346256+00 |
| description | A tool spawns binary runner for testing the JAM spec |
| homepage | https://github.com/spacejamapp/specjam |
| repository | https://github.com/spacejamapp/specjam |
| max_upload_size | |
| id | 1508882 |
| size | 59,749 |
jam-test-vectors rust wrapper.
For avoiding the memory overload, we now wraps the jam-test-vectors repo and generates the test vectors on demand, all tests are in the same interface.
pub struct Test {
input: String,
output: String,
scale: Option<Scale>,
section: Section,
name: String,
}
For using it in your project,
use specjam::Registry;
fn my_test() {
for test in Registry("jamtestvectors").accumulate().iter() {
println!("{}", test.name);
}
}
GPL-3.0