Skip to content

Add test for Base64.decode and Base64.encode - #1257

Open
lacinoire wants to merge 2 commits into
perwendel:masterfrom
lacinoire:add-test
Open

Add test for Base64.decode and Base64.encode#1257
lacinoire wants to merge 2 commits into
perwendel:masterfrom
lacinoire:add-test

Conversation

@lacinoire

Copy link
Copy Markdown

Hey 😊
I want to contribute a test.
Curious to hear what you think!

(I wrote this test as part of a research study at TU Delft. Find out more)

@asolntsev asolntsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Usually every unit-test should verify only one method. I would split your test into two: one for encode and other for decode.

@lacinoire

Copy link
Copy Markdown
Author

Good point, I've split it into one test each.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants