Skip to content

Add test for BabyBearDigest #203

@hadjiszs

Description

@hadjiszs

Would be nice to have a test for this checking the implementation against the reference in sp1. Could make the BabyBearDigest implement sp1_prover::HashableKey in test mode and compare the output of this to the output of the default impl of the trait method. It could even be a randomized test as it's supposed to work for any valid BabyBearDigest.

Originally posted by @iljakuklic in #186 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions