poulpy/poulpy-schemes/src/bin_fhe/circuit_bootstrapping/tests/fft64_avx.rs
poulpy-schemes/src/bin_fhe/circuit_bootstrapping/tests/fft64_avx.rsRaw
1use poulpy_cpu_avx::FFT64Avx;
2use poulpy_hal::{api::ModuleNew, layouts::Module};
3
4use crate::bin_fhe::{
5 blind_rotation::CGGI,
6 circuit_bootstrapping::tests::circuit_bootstrapping::{
7 test_circuit_bootstrapping_to_constant, test_circuit_bootstrapping_to_exponent,
8 },
9};
10
11#[test]
12fn to_constant_cggi() {
13 let module: Module<FFT64Avx> = Module::<FFT64Avx>::new(256);
14 test_circuit_bootstrapping_to_constant::<FFT64Avx, _, CGGI>(&module);
15}
16
17#[test]
18fn to_exponent_cggi() {
19 let module: Module<FFT64Avx> = Module::<FFT64Avx>::new(256);
20 test_circuit_bootstrapping_to_exponent::<FFT64Avx, _, CGGI>(&module);
21}