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

feat: add test vectors#29

Open
ethanwlee wants to merge 4 commits into
mainfrom
add-test-vectors
Open

feat: add test vectors#29
ethanwlee wants to merge 4 commits into
mainfrom
add-test-vectors

Conversation

@ethanwlee

Copy link
Copy Markdown
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
Copy Markdown
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