Skip to content

Add some tests for prioq. - #179

Merged
schmonz merged 1 commit into
masterfrom
tests-prioq
Nov 8, 2020
Merged

schmonz merged 1 commit into
masterfrom
tests-prioq

Conversation

@schmonz

@schmonz schmonz commented Nov 3, 2020

Copy link
Copy Markdown
Member

No description provided.

@DerDakon DerDakon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Be a bit more paranoid about reused values ;) LGTM otherwise.

Comment thread tests/unittest_prioq.c Resolved
Comment thread tests/unittest_prioq.c Resolved
Comment thread tests/unittest_prioq.c Resolved
@DerDakon
DerDakon requested a review from xenotrope November 7, 2020 08:16

@josuah josuah left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Tests are a good way to document libraries through providing examples.

Do we aim covering more of the code base this way?

Thank you and ok josuah

@josuah

josuah commented Nov 8, 2020

Copy link
Copy Markdown

@schmonz

schmonz commented Nov 8, 2020

Copy link
Copy Markdown
Member Author

Tests are a good way to document libraries through providing examples.

Do we aim covering more of the code base this way?

I personally enjoy it, which is why I wrote these particular tests. Conveniently, getting code under automated test is a huge lever for preserving and improving our code -- and therefore ultimately for making notqmail development faster and more fun. 😀

@schmonz
schmonz merged commit 63e5f20 into master Nov 8, 2020
@schmonz
schmonz deleted the tests-prioq branch November 8, 2020 13:10
@schmonz schmonz modified the milestones: 1.90, 1.09 Sep 23, 2023
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.

4 participants