arnaucube
arnaucube/poulpyPublic Self-hosted repository
poulpy/poulpy-schemes/src/tfhe/circuit_bootstrapping/tests/implementation/cpu_spqlios/fft64.rs
poulpy-schemes/src/tfhe/circuit_bootstrapping/tests/implementation/cpu_spqlios/fft64.rsRaw
 1use poulpy_backend::cpu_spqlios::FFT64;
 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() {
13    let module: Module<FFT64> = Module::<FFT64>::new(256);
14    test_circuit_bootstrapping_to_constant::<FFT64, CGGI>(&module);
15}
16
17#[test]
18fn test_to_exponent() {
19    let module: Module<FFT64> = Module::<FFT64>::new(256);
20    test_circuit_bootstrapping_to_exponent::<FFT64, CGGI>(&module);
21}