pub(crate) const fn gen_array<const N: usize, const B: usize>() -> [u8; N] {
let mut array = [0; N];
let mut i = 0;
while i < N {
array[i] = (B + i) as u8;
i += 1;
}
array
}
pub static SEED: [u8; 32] = [42; 32];
pub(crate) const ASCII_VISIBLE: [u8; 94] = gen_array::<94, 33>();
pub(crate) const DNA_NUCLEOTIDES: [u8; 8] = *b"ACTGactg";
pub(crate) const RNA_NUCLEOTIDES: [u8; 8] = *b"ACUGacug";
pub static CHROMOSOMES: [&[u8]; 10] = [
b"chr1",
b"23",
b"93",
b"chrMT",
b"X",
b"NC_000015.10",
b"ENA|LT795502|LT795502.1",
b"NC_016845.1",
b"YAR028W",
b"1",
];
pub static VCF_INFO_TYPE: [&[u8]; 5] = [b"Integer", b"Float", b"Flag", b"Character", b"String"];
pub static VCF_INFO_NUMBER: [&[u8]; 6] = [b"1", b"2", b"A", b"R", b"G", b"."];
pub static VCF_FORMAT_TYPE: [&[u8]; 4] = [b"Integer", b"Float", b"Character", b"String"];
pub static VCF_FORMAT_NUMBER: [&[u8]; 6] = [b"1", b"2", b"A", b"R", b"G", b"."];
pub static VCF_STRING_LENGTH: usize = 5;
pub const BIOTEST_VERSION: &[u8] = env!("CARGO_PKG_VERSION").as_bytes();
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn ascii_visible() {
assert_eq!(ASCII_VISIBLE, gen_array::<94, 33>())
}
}