Skip to content

<mdspan>: Add separate tests for extents and default_accessor - #3580

Merged
Stephan T. Lavavej (StephanTLavavej) merged 11 commits into
microsoft:feature/mdspan2from
JMazurkiewicz:mdspan/tests
Mar 17, 2023
Merged

<mdspan>: Add separate tests for extents and default_accessor#3580
Stephan T. Lavavej (StephanTLavavej) merged 11 commits into
microsoft:feature/mdspan2from
JMazurkiewicz:mdspan/tests

Conversation

@JMazurkiewicz

@JMazurkiewicz Jakub Mazurkiewicz (JMazurkiewicz) commented Mar 17, 2023

Copy link
Copy Markdown
Contributor

Short motivation:

  • Separate tests are easier to read and maintain,
  • We avoid files with 1000 lines of code.

That said, this PR adds:

P0009R18_mdspan_extents/test.cpp tests have two FIXME comment, as there might be a bug in extents implementation

Comment thread tests/std/tests/P0009R18_mdspan_default_accessor/test.cpp
Comment thread tests/std/tests/P0009R18_mdspan_default_accessor/test.cpp Outdated
Comment thread tests/std/tests/P0009R18_mdspan_extents/test.cpp Outdated
Comment thread tests/std/tests/P0009R18_mdspan_extents/test.cpp Outdated
Comment thread tests/std/tests/P0009R18_mdspan_extents/test.cpp Outdated
Comment thread tests/std/tests/P0009R18_mdspan_extents/test.cpp
Comment thread tests/std/tests/P0009R18_mdspan_extents/test.cpp Outdated
@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 404605b into microsoft:feature/mdspan2 Mar 17, 2023
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for extending this test coverage! 😹

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

Labels

mdspan C++23 mdspan

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants