openMSX
Functions
unittest/sha1.cc File Reference
#include "catch.hpp"
#include "sha1.hh"
#include "xrange.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")
 
 TEST_CASE ("sha1: finalize")
 

Function Documentation

◆ TEST_CASE() [1/8]

TEST_CASE ( "sha1: calc"  )

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

◆ TEST_CASE() [2/8]

TEST_CASE ( "sha1: finalize"  )

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

References CHECK(), openmsx::SHA1::digest(), sum(), and openmsx::SHA1::update().

◆ TEST_CASE() [3/8]

TEST_CASE ( "sha1:  update,
digest"   
)

◆ TEST_CASE() [4/8]

TEST_CASE ( "Sha1Sum: clear"  )

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

References CHECK(), and sum().

◆ TEST_CASE() [5/8]

TEST_CASE ( "Sha1Sum: comparisons"  )

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

◆ TEST_CASE() [6/8]

TEST_CASE ( "Sha1Sum: constructors"  )

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

References CHECK(), and sum().

◆ TEST_CASE() [7/8]

TEST_CASE ( "Sha1Sum: parse"  )

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

References CHECK(), and sum().

◆ TEST_CASE() [8/8]

TEST_CASE ( "Sha1Sum: stream"  )

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

References CHECK(), and sum().