Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arlyon/bluenoise-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e17764bffb044880a2a622d4620b4b8a53d779bb
Choose a base ref
..
head repository: arlyon/bluenoise-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8255e929ceb782939eb8ad546b0bad0808c22e1d
Choose a head ref
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/lib.rs
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -457,7 +457,10 @@ mod test {
fn get_points() {
let noise = BlueNoise::<Pcg64Mcg>::new(100.0, 100.0, 1.0);
assert!(noise.count() > 0);
}

#[test]
fn get_points_wrapping() {
let noise = WrappingBlueNoise::<Pcg64Mcg>::new(100.0, 100.0, 1.0);
assert!(noise.count() > 0);
}