mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 19:55:03 +01:00
formatting!
This commit is contained in:
parent
770762b920
commit
cae9683bd4
33 changed files with 147 additions and 87 deletions
|
|
@ -1,10 +1,12 @@
|
|||
// create random methods to test the ser/de code together. if they diverge, we have a bug
|
||||
// this is not perfect, if they both have the same bug it won't be found, but that's an ok tradeoff
|
||||
|
||||
use crate::methods::{FieldValue, Method, RandomMethod};
|
||||
use rand::SeedableRng;
|
||||
use std::collections::HashMap;
|
||||
|
||||
use rand::SeedableRng;
|
||||
|
||||
use crate::methods::{FieldValue, Method, RandomMethod};
|
||||
|
||||
#[test]
|
||||
fn pack_few_bits() {
|
||||
let bits = [true, false, true];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue