-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[stdlib] Add test for InlineArray
(sizeof[T]
by capacity
).
#4125
Conversation
Hello, this PR adds a small test for `InlineArray`: ```mojo (sizeof[ElementType]() * capacity) == sizeof[self._array]() ``` Signed-off-by: rd4com <144297616+rd4com@users.noreply.github.com>
dba1f4c
to
64783be
Compare
Signed-off-by: rd4com <144297616+rd4com@users.noreply.github.com>
Which one do we prefer for tests these days? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the additional testing coverage!
!sync |
In general, we still prefer |
Landed in 8123f0f! Thank you for your contribution 🎉 |
Hello,
this PR adds a small test for
InlineArray
: