use uwuifier::uwuify_sse;
pub fn uwuify(input: &str) -> String {
const LEN: usize = 1 << 16;
let bytes = input.as_bytes();
let mut temp_bytes1 = vec![0u8; LEN * 16];
let mut temp_bytes2 = vec![0u8; LEN * 16];
let res = uwuify_sse(bytes, &mut temp_bytes1, &mut temp_bytes2);
String::from_utf8_lossy(res).to_string()
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn uwufiy() {
let input = "this is an extremely important bot and I expect it to have a major impact on human culture.";
let expected = "this is an extwemewy i-impowtant bot a-and i expect it to have a majow i-impact on human cuwtuwe.";
let output = uwuify(input);
assert_eq!(expected, output);
}
}