Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start adding some tests #21

merged 6 commits into from Dec 23, 2019

Start adding some tests #21

merged 6 commits into from Dec 23, 2019


Copy link

willdurand commented Dec 22, 2019

Output looks like this:

it returns the length of the string                                   [pass]
it handles empty string                                               [pass]

test/libc/string/strlen.c                           failures:  0 / total:  2

it returns 0 when strings are equal                                   [pass]
it works for empty strings                                            [pass]
it returns a non-zero value when strings are different                [pass]
it compares the N first characters                                    [pass]

test/libc/string/strncmp.c                          failures:  0 / total:  4

it duplicates string                                                  [pass]
it has similar size                                                   [pass]

test/libc/string/strdup.c                           failures:  0 / total:  2
willdurand added 2 commits Dec 22, 2019
@willdurand willdurand force-pushed the make-test branch from b250d48 to 5dadd76 Dec 23, 2019
willdurand added 3 commits Dec 23, 2019
@willdurand willdurand marked this pull request as ready for review Dec 23, 2019
@willdurand willdurand merged commit 0851200 into master Dec 23, 2019
1 check passed
1 check passed
ci/circleci Your tests passed on CircleCI!
@willdurand willdurand deleted the make-test branch Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.