use backend::hal::tests::serialization::test_reader_writer_interface; use crate::{GLWECiphertext, GLWECiphertextCompressed}; #[test] fn test_serialization() { let original: GLWECiphertext> = GLWECiphertext::alloc(1024, 12, 54, 3); test_reader_writer_interface(original); } #[test] fn test_compressed_serialization() { let original: GLWECiphertextCompressed> = GLWECiphertextCompressed::alloc(1024, 12, 54, 3); test_reader_writer_interface(original); }