Make implementation more scalable by using a helper trait to determine bitmask size. Improve bitmask to int conversion.

This commit is contained in:
Caleb Zulawski
2021-04-29 02:41:09 +00:00
committed by Jubilee Young
parent eec42808aa
commit 98dad13526
12 changed files with 293 additions and 206 deletions

View File

@@ -3,14 +3,11 @@
// Adapted from proptest's array code
// Copyright 2017 Jason Lingle
use core::{marker::PhantomData, mem::MaybeUninit};
use proptest::{
strategy::{NewTree, Strategy, ValueTree},
test_runner::TestRunner,
};
use core::{
marker::PhantomData,
mem::MaybeUninit,
};
#[must_use = "strategies do nothing unless used"]
#[derive(Clone, Copy, Debug)]