-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_family.cpp
More file actions
29 lines (21 loc) · 768 Bytes
/
test_family.cpp
File metadata and controls
29 lines (21 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* This file is part of the headcode.space crypt.
*
* The 'LICENSE.txt' file in the project root holds the software license.
* Copyright (C) 2020-2021 headcode.space e.U.
* Oliver Maurhart <info@headcode.space>, https://www.headcode.space
*/
#include <gtest/gtest.h>
#include <headcode/crypt/crypt.hpp>
TEST(Family, text_symmetric_cypher) {
auto text = headcode::crypt::GetFamilyText(headcode::crypt::Family::kSymmetricCipher);
EXPECT_FALSE(text.empty());
}
TEST(Family, text_hash) {
auto text = headcode::crypt::GetFamilyText(headcode::crypt::Family::kHash);
EXPECT_FALSE(text.empty());
}
TEST(Family, text_unknown) {
auto text = headcode::crypt::GetFamilyText(headcode::crypt::Family::kUnknown);
EXPECT_FALSE(text.empty());
}