Test the right things

This commit is contained in:
Sean Bowe 2015-12-25 00:37:52 -07:00
parent 0b8b52cb41
commit 02eb93d5d2
4 changed files with 16 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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