Browse Source

Test the right things

master
Sean Bowe 9 years ago
parent
commit
02eb93d5d2
  1. 4
      .travis.yml
  2. 12
      Cargo.toml
  3. 6
      src/main.rs
  4. 3
      tinysnark/src/lib.rs

4
.travis.yml

@ -16,4 +16,6 @@ addons:
- libgmp-dev
script:
- cargo run --release
- cd tinysnark && cargo test
- cargo run --release
- cargo test

12
Cargo.toml

@ -1,13 +1,13 @@
[package]
name = "bellman"
version = "0.0.1"
authors = ["Sean Bowe <[email protected]>"]
homepage = "https://github.com/ebfull/bellman"
repository = "https://github.com/ebfull/bellman"
description = "zk-SNARK library"
documentation = "https://github.com/ebfull/bellman"
homepage = "https://github.com/ebfull/bellman"
license = "MIT"
description = "zk-SNARK library"
name = "bellman"
repository = "https://github.com/ebfull/bellman"
version = "0.0.1"
[dependencies.tinysnark]
path = "tinysnark"
version = "0.0.1"
version = "0.0.1"

6
src/main.rs

@ -1,5 +1,7 @@
extern crate tinysnark;
fn main() {
tinysnark::test();
}
tinysnark::init();
tinysnark::test();
}

3
tinysnark/src/lib.rs

@ -1,4 +1,5 @@
#![feature(box_syntax, test)]
#![feature(box_syntax)]
#![cfg_attr(test, feature(test))]
extern crate libc;
mod arith;

Loading…
Cancel
Save