Documentation
¶
Index ¶
- func TestAddAndGetCircomProof(t *testing.T, sto merkletree.Storage)
- func TestAddDifferentOrder(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
- func TestAddRepeatedIndex(t *testing.T, sto merkletree.Storage)
- func TestAll(t *testing.T, sb StorageBuilder)
- func TestDelete(t *testing.T, sto merkletree.Storage)
- func TestDelete2(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
- func TestDelete3(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
- func TestDelete4(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
- func TestDelete5(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
- func TestDeleteNonExistingKeys(t *testing.T, sto merkletree.Storage)
- func TestDumpLeafsImportLeafs(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
- func TestGenerateAndVerifyProof128(t *testing.T, sto merkletree.Storage)
- func TestGet(t *testing.T, sto merkletree.Storage)
- func TestGraphViz(t *testing.T, sto merkletree.Storage)
- func TestNewTree(t *testing.T, sto merkletree.Storage)
- func TestReturnKnownErrIfNotExists(t *testing.T, sto merkletree.Storage)
- func TestSiblingsFromProof(t *testing.T, sto merkletree.Storage)
- func TestSmtVerifier(t *testing.T, sto merkletree.Storage)
- func TestStorageInsertGet(t *testing.T, sto merkletree.Storage)
- func TestTreeLimit(t *testing.T, sto merkletree.Storage)
- func TestTreeRootWithOneNode(t *testing.T, sto merkletree.Storage)
- func TestTypesMarshalers(t *testing.T, sto merkletree.Storage)
- func TestUpdate(t *testing.T, sto merkletree.Storage)
- func TestUpdate2(t *testing.T, sto merkletree.Storage)
- func TestUpdateCircomProcessorProof(t *testing.T, sto merkletree.Storage)
- func TestVerifyProofCases(t *testing.T, sto merkletree.Storage)
- func TestVerifyProofFalse(t *testing.T, sto merkletree.Storage)
- type StorageBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestAddAndGetCircomProof ¶
func TestAddAndGetCircomProof(t *testing.T, sto merkletree.Storage)
func TestAddDifferentOrder ¶
func TestAddDifferentOrder(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
func TestAddRepeatedIndex ¶
func TestAddRepeatedIndex(t *testing.T, sto merkletree.Storage)
func TestAll ¶
func TestAll(t *testing.T, sb StorageBuilder)
func TestDelete ¶
func TestDelete(t *testing.T, sto merkletree.Storage)
func TestDelete2 ¶
func TestDelete2(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
func TestDelete3 ¶
func TestDelete3(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
func TestDelete4 ¶
func TestDelete4(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
func TestDelete5 ¶
func TestDelete5(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
func TestDeleteNonExistingKeys ¶
func TestDeleteNonExistingKeys(t *testing.T, sto merkletree.Storage)
func TestDumpLeafsImportLeafs ¶
func TestDumpLeafsImportLeafs(t *testing.T, sto merkletree.Storage, sto2 merkletree.Storage)
func TestGenerateAndVerifyProof128 ¶
func TestGenerateAndVerifyProof128(t *testing.T, sto merkletree.Storage)
func TestGraphViz ¶
func TestGraphViz(t *testing.T, sto merkletree.Storage)
func TestNewTree ¶
func TestNewTree(t *testing.T, sto merkletree.Storage)
func TestReturnKnownErrIfNotExists ¶
func TestReturnKnownErrIfNotExists(t *testing.T, sto merkletree.Storage)
TestReturnKnownErrIfNotExists checks that the implementation of the db.Storage interface returns the expected error in the case that the value is not found
func TestSiblingsFromProof ¶
func TestSiblingsFromProof(t *testing.T, sto merkletree.Storage)
func TestSmtVerifier ¶
func TestSmtVerifier(t *testing.T, sto merkletree.Storage)
func TestStorageInsertGet ¶
func TestStorageInsertGet(t *testing.T, sto merkletree.Storage)
TestStorageInsertGet checks that the implementation of the db.Storage interface behaves as expected
func TestTreeLimit ¶
func TestTreeLimit(t *testing.T, sto merkletree.Storage)
func TestTreeRootWithOneNode ¶ added in v1.0.2
func TestTreeRootWithOneNode(t *testing.T, sto merkletree.Storage)
func TestTypesMarshalers ¶
func TestTypesMarshalers(t *testing.T, sto merkletree.Storage)
func TestUpdate ¶
func TestUpdate(t *testing.T, sto merkletree.Storage)
func TestUpdate2 ¶
func TestUpdate2(t *testing.T, sto merkletree.Storage)
func TestUpdateCircomProcessorProof ¶
func TestUpdateCircomProcessorProof(t *testing.T, sto merkletree.Storage)
func TestVerifyProofCases ¶
func TestVerifyProofCases(t *testing.T, sto merkletree.Storage)
func TestVerifyProofFalse ¶
func TestVerifyProofFalse(t *testing.T, sto merkletree.Storage)
Types ¶
type StorageBuilder ¶
type StorageBuilder interface {
NewStorage(t *testing.T) merkletree.Storage
}
Click to show internal directories.
Click to hide internal directories.