arnaucube
arnaucube/poulpyPublic Self-hosted repository
poulpy/poulpy-schemes/src/tfhe/bdd_arithmetic/tests/fft64_ref.rs
poulpy-schemes/src/tfhe/bdd_arithmetic/tests/fft64_ref.rsRaw
 1use poulpy_backend::FFT64Ref;
 2
 3use crate::tfhe::{
 4    bdd_arithmetic::tests::test_suite::{
 5        test_bdd_add, test_bdd_and, test_bdd_or, test_bdd_prepare, test_bdd_sll, test_bdd_slt, test_bdd_sltu, test_bdd_sra,
 6        test_bdd_srl, test_bdd_sub, test_bdd_xor, test_glwe_to_glwe_blind_rotation, test_scalar_to_ggsw_blind_rotation,
 7    },
 8    blind_rotation::CGGI,
 9};
10
11#[test]
12fn test_glwe_to_glwe_blind_rotation_fft64_ref() {
13    test_glwe_to_glwe_blind_rotation::<FFT64Ref>()
14}
15
16#[test]
17fn test_scalar_to_ggsw_blind_rotation_fft64_ref() {
18    test_scalar_to_ggsw_blind_rotation::<FFT64Ref>()
19}
20
21#[test]
22fn test_bdd_prepare_fft64_ref() {
23    test_bdd_prepare::<CGGI, FFT64Ref>()
24}
25
26#[test]
27fn test_bdd_add_fft64_ref() {
28    test_bdd_add::<CGGI, FFT64Ref>()
29}
30
31#[test]
32fn test_bdd_and_fft64_ref() {
33    test_bdd_and::<CGGI, FFT64Ref>()
34}
35
36#[test]
37fn test_bdd_or_fft64_ref() {
38    test_bdd_or::<CGGI, FFT64Ref>()
39}
40
41#[test]
42fn test_bdd_sll_fft64_ref() {
43    test_bdd_sll::<CGGI, FFT64Ref>()
44}
45
46#[test]
47fn test_bdd_slt_fft64_ref() {
48    test_bdd_slt::<CGGI, FFT64Ref>()
49}
50
51#[test]
52fn test_bdd_sltu_fft64_ref() {
53    test_bdd_sltu::<CGGI, FFT64Ref>()
54}
55
56#[test]
57fn test_bdd_sra_fft64_ref() {
58    test_bdd_sra::<CGGI, FFT64Ref>()
59}
60
61#[test]
62fn test_bdd_srl_fft64_ref() {
63    test_bdd_srl::<CGGI, FFT64Ref>()
64}
65
66#[test]
67fn test_bdd_sub_fft64_ref() {
68    test_bdd_sub::<CGGI, FFT64Ref>()
69}
70
71#[test]
72fn test_bdd_xor_fft64_ref() {
73    test_bdd_xor::<CGGI, FFT64Ref>()
74}