openMSX
|
#include "catch.hpp"
#include "sha1.hh"
#include "ranges.hh"
#include "xrange.hh"
#include <bit>
#include <cstring>
#include <sstream>
Go to the source code of this file.
Functions | |
TEST_CASE ("Sha1Sum: constructors") | |
TEST_CASE ("Sha1Sum: parse") | |
TEST_CASE ("Sha1Sum: clear") | |
TEST_CASE ("Sha1Sum: comparisons") | |
TEST_CASE ("Sha1Sum: stream") | |
TEST_CASE ("sha1: calc") | |
TEST_CASE ("sha1: update,digest") | |
TEST_CASE ("sha1: finalize") | |
TEST_CASE | ( | "sha1: calc" | ) |
Definition at line 112 of file unittest/sha1.cc.
References openmsx::SHA1::calc(), CHECK(), and openmsx::Sha1Sum::toString().
TEST_CASE | ( | "sha1: finalize" | ) |
Definition at line 142 of file unittest/sha1.cc.
References CHECK(), openmsx::SHA1::digest(), sum(), and openmsx::SHA1::update().
TEST_CASE | ( | "sha1: | update, |
digest" | |||
) |
Definition at line 119 of file unittest/sha1.cc.
References CHECK(), openmsx::SHA1::digest(), repeat(), sum(), openmsx::Sha1Sum::toString(), and openmsx::SHA1::update().
TEST_CASE | ( | "Sha1Sum: clear" | ) |
Definition at line 52 of file unittest/sha1.cc.
TEST_CASE | ( | "Sha1Sum: comparisons" | ) |
Definition at line 91 of file unittest/sha1.cc.
TEST_CASE | ( | "Sha1Sum: constructors" | ) |
Definition at line 14 of file unittest/sha1.cc.
TEST_CASE | ( | "Sha1Sum: parse" | ) |
Definition at line 38 of file unittest/sha1.cc.
References CHECK(), openmsx::Sha1Sum::parse40(), and sum().
TEST_CASE | ( | "Sha1Sum: stream" | ) |
Definition at line 103 of file unittest/sha1.cc.