Add comprehensive tests for FixedHash

Also explicitly disallow FixedHash<0>, given most functions were not working with it, and it is not very useful.
This commit is contained in:
Alex Beregszaszi
2020-12-11 12:20:37 +00:00
parent 03e805ab5a
commit b40b82535c
3 changed files with 274 additions and 0 deletions
+1
View File
@@ -48,6 +48,7 @@ public:
/// The size of the container.
enum { size = N };
static_assert(N != 0);
/// Method to convert from a string.
enum ConstructFromStringType { FromHex, FromBinary };