Removed some blank lines

This commit is contained in:
hilder.vitor
2022-03-11 13:58:18 +01:00
parent 13bada8957
commit 3e02733b2d
2 changed files with 0 additions and 21 deletions

View File

@ -353,18 +353,14 @@ void test_ntruhe_nand(SchemeNTRU& s)
void test_ntruhe_and(SchemeNTRU& s)
{
GateType g = AND;
test_ntru_gate(s, g);
cout << "AND IS OK" << endl;
}
void test_ntruhe_or(SchemeNTRU& s)
{
GateType g = OR;
test_ntru_gate(s, g);
cout << "OR IS OK" << endl;
}
@ -378,12 +374,10 @@ void test_ntruhe_xor(SchemeNTRU& s)
void test_ntruhe_not(SchemeNTRU& s)
{
GateType g = NOT;
for(int i = 0; i < 5; i++){
int bit = binary_sampler(rand_engine);
test_ntruhe_gate_helper(bit, 0, s, g);
}
cout << "NOT GATE IS OK" << endl;
}
@ -460,9 +454,6 @@ void test_ntruhe_composition_of_gates(SchemeNTRU& s)
}
// ----- LWE tests
void test_lwehe_gate_helper(int in1, int in2, SchemeLWE& s, GateType g)
@ -543,27 +534,21 @@ void test_lwe_gate(SchemeLWE& s, GateType g)
void test_lwehe_nand(SchemeLWE& s)
{
GateType g = NAND;
test_lwe_gate(s, g);
cout << "NAND IS OK" << endl;
}
void test_lwehe_and(SchemeLWE& s)
{
GateType g = AND;
test_lwe_gate(s, g);
cout << "AND IS OK" << endl;
}
void test_lwehe_or(SchemeLWE& s)
{
GateType g = OR;
test_lwe_gate(s, g);
cout << "OR IS OK" << endl;
}
@ -577,7 +562,6 @@ void test_lwehe_xor(SchemeLWE& s)
void test_lwehe_not(SchemeLWE& s)
{
GateType g = NOT;
for(int i = 0; i < 4; i++){
int bit = binary_sampler(rand_engine);
test_lwehe_gate_helper(bit, 0, s, g);