arnaucube
arnaucube/poulpyPublic Self-hosted repository
poulpy/poulpy-schemes/src/tfhe/circuit_bootstrapping/tests/fft64.rs
poulpy-schemes/src/tfhe/circuit_bootstrapping/tests/fft64.rsRaw
 1use poulpy_backend::cpu_fft64_ref::FFT64Ref;
 2use poulpy_hal::{api::ModuleNew, layouts::Module};
 3
 4use crate::tfhe::{
 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 test_to_constant_cggi() {
13    let module: Module<FFT64Ref> = Module::<FFT64Ref>::new(256);
14    test_circuit_bootstrapping_to_constant::<FFT64Ref, _, CGGI>(&module);
15}
16
17#[test]
18fn test_to_exponent_cggi() {
19    let module: Module<FFT64Ref> = Module::<FFT64Ref>::new(256);
20    test_circuit_bootstrapping_to_exponent::<FFT64Ref, _, CGGI>(&module);
21}