poulpy/poulpy-schemes/src/bin_fhe/circuit_bootstrapping/tests/fft64_ref.rs
poulpy-schemes/src/bin_fhe/circuit_bootstrapping/tests/fft64_ref.rsRaw
1use poulpy_cpu_ref::FFT64Ref;
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<FFT64Ref> = Module::<FFT64Ref>::new(256);
14 test_circuit_bootstrapping_to_constant::<FFT64Ref, _, CGGI>(&module);
15}
16
17#[test]
18fn to_exponent_cggi() {
19 let module: Module<FFT64Ref> = Module::<FFT64Ref>::new(256);
20 test_circuit_bootstrapping_to_exponent::<FFT64Ref, _, CGGI>(&module);
21}