openMSX
Functions
unittest/sha1.cc File Reference
#include "catch.hpp"
#include "sha1.hh"
#include <cstring>
#include <sstream>
Include dependency graph for unittest/sha1.cc:

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")
 

Function Documentation

◆ TEST_CASE() [1/7]

TEST_CASE ( "sha1: calc"  )

Definition at line 106 of file unittest/sha1.cc.

References openmsx::SHA1::calc(), CHECK(), and openmsx::Sha1Sum::toString().

◆ TEST_CASE() [2/7]

TEST_CASE ( "sha1:  update,
digest"   
)

◆ TEST_CASE() [3/7]

TEST_CASE ( "Sha1Sum: clear"  )

Definition at line 46 of file unittest/sha1.cc.

References CHECK(), and sum().

◆ TEST_CASE() [4/7]

TEST_CASE ( "Sha1Sum: comparisons"  )

Definition at line 85 of file unittest/sha1.cc.

◆ TEST_CASE() [5/7]

TEST_CASE ( "Sha1Sum: constructors"  )

Definition at line 8 of file unittest/sha1.cc.

References CHECK(), and sum().

◆ TEST_CASE() [6/7]

TEST_CASE ( "Sha1Sum: parse"  )

Definition at line 32 of file unittest/sha1.cc.

References CHECK(), and sum().

◆ TEST_CASE() [7/7]

TEST_CASE ( "Sha1Sum: stream"  )

Definition at line 97 of file unittest/sha1.cc.

References CHECK(), and sum().