Skip to content

Commit

Permalink
adding fuzz_lower
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronKutch committed Dec 5, 2023
1 parent 1d06a44 commit 9860326
Show file tree
Hide file tree
Showing 5 changed files with 776 additions and 9 deletions.
4 changes: 3 additions & 1 deletion testcrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ version = "0.0.0"
edition = "2021"
publish = false

[dependencies]
starlight = { path = "../starlight", features = ["debug"] }

[dev-dependencies]
rand_xoshiro = { version = "0.6", default-features = false }
starlight = { path = "../starlight", features = ["debug"] }
7 changes: 7 additions & 0 deletions testcrate/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use std::path::PathBuf;

use starlight::{awint_dag::EvalError, Epoch};

fn _render(epoch: &Epoch) -> Result<(), EvalError> {
epoch.render_to_svgs_in_dir(PathBuf::from("./".to_owned()))
}
7 changes: 0 additions & 7 deletions testcrate/tests/basic.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
use std::path::PathBuf;

use starlight::{
awi,
awint_dag::EvalError,
dag::{self, *},
Epoch, EvalAwi, LazyAwi, StarRng,
};

fn _render(epoch: &Epoch) -> awi::Result<(), EvalError> {
epoch.render_to_svgs_in_dir(PathBuf::from("./".to_owned()))
}

#[test]
fn lazy_awi() -> Option<()> {
let epoch0 = Epoch::new();
Expand Down
2 changes: 1 addition & 1 deletion testcrate/tests/fuzz_elementary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn operation(rng: &mut StarRng, m: &mut Mem) {
}

#[test]
fn elementary_fuzz_lower_and_eval() {
fn fuzz_elementary() {
let mut rng = StarRng::new(0);
let mut m = Mem::new();

Expand Down
Loading

0 comments on commit 9860326

Please sign in to comment.