specjam 0.0.12

A tool spawns binary runner for testing the JAM spec
Documentation

Specjam

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);
  }
}

LICENSE

GPL-3.0