[all-commits] [llvm/llvm-project] f1ecff: [libc++] Improve test coverage and readability for...

Peng Liu via All-commits all-commits at lists.llvm.org
Wed May 14 10:02:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1ecff8f8890a5fd7c78ede648039a206d2dbd83
      https://github.com/llvm/llvm-project/commit/f1ecff8f8890a5fd7c78ede648039a206d2dbd83
  Author: Peng Liu <winner245 at hotmail.com>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ranges.swap_ranges.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/swap_ranges.pass.cpp

  Log Message:
  -----------
  [libc++] Improve test coverage and readability for swap_ranges (#133752)

This patch enhances the test coverage of `{std,ranges}::swap_ranges` by
adding larger test cases with 100 elements across different containers.
It also inlines standalone tests for better readability, avoiding
unnecessary navigation.

This patch addresses a follow-up suggestion from PR #121138 to extend
test coverage beyond 3 elements.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list