Factorized and reworked fingerprint comparison code - cosmetic change in trustword test
authorEdouard Tisserant <edouard@pep-project.org>
Wed, 03 May 2017 18:29:06 +0200
changeset 1747061d8bf91506
parent 1746 498b0671ff4e
child 1748 58ae886d5079
child 1749 32084f52dada
Factorized and reworked fingerprint comparison code - cosmetic change in trustword test
test/trustwords_test.cc
     1.1 --- a/test/trustwords_test.cc	Wed May 03 18:11:49 2017 +0200
     1.2 +++ b/test/trustwords_test.cc	Wed May 03 18:29:06 2017 +0200
     1.3 @@ -65,8 +65,8 @@
     1.4      assert(full_wordlist);
     1.5      cout << full_wordlist << "\n";
     1.6  
     1.7 -    cout << "\nfinding German trustwords for " << identity1->address << " and " << identity2->address << "...\n";
     1.8 -    get_trustwords(session, identity1, identity2_with_spaces, "de", &full_wordlist, &wsize_full, false);
     1.9 +    cout << "\nfinding Englis trustwords for " << identity1->address << " and " << identity2->address << "... with spaces\n";
    1.10 +    get_trustwords(session, identity1, identity2_with_spaces, "en", &full_wordlist, &wsize_full, false);
    1.11      assert(full_wordlist);
    1.12      cout << full_wordlist << "\n";
    1.13      
    1.14 @@ -90,8 +90,8 @@
    1.15      assert(full_wordlist);
    1.16      cout << full_wordlist << "\n";
    1.17  
    1.18 -    cout << "\nfinding French trustwords for " << identity2->address << " and " << identity2->address << "...\n";
    1.19 -    get_trustwords(session, identity2, identity2_with_spaces, "fr", &full_wordlist, &wsize_full, false);
    1.20 +    cout << "\nfinding English trustwords for " << identity2->address << " and " << identity2->address << "... with spaces\n";
    1.21 +    get_trustwords(session, identity2, identity2_with_spaces, "en", &full_wordlist, &wsize_full, false);
    1.22      assert(full_wordlist);
    1.23      cout << full_wordlist << "\n";
    1.24  
    1.25 @@ -117,8 +117,8 @@
    1.26      assert(full_wordlist);
    1.27      cout << full_wordlist << "\n";
    1.28      
    1.29 -    cout << "\nfinding English trustwords for " << identity2->address << " and " << identity2->address << "...\n";
    1.30 -    get_trustwords(session, identity2_with_spaces, identity1, "en", &full_wordlist, &wsize_full, true);
    1.31 +    cout << "\nfinding English trustwords for " << identity2->address << " and " << identity2->address << "... with spaces\n";
    1.32 +    get_trustwords(session, identity2_with_spaces, identity1, "en", &full_wordlist, &wsize_full, false);
    1.33      assert(full_wordlist);
    1.34      cout << full_wordlist << "\n";
    1.35