Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

feat: add test vectors #29

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: add test vectors #29

wants to merge 4 commits into from

Conversation

ethan-tbd
Copy link
Contributor

closes #8

Comment on lines +15 to +21
test('can parse offering test vector', () async {
final json = jsonDecode(ParseOffering.vector) as Map<String, dynamic>;
final parsed = await Offering.parse(json['input']);

expect(parsed, isA<Offering>());
expect(parsed.toJson(), equals(json['output']));
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mistermoe currently getting a failed integrity check in Ed25519.verify()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add test vectors
1 participant