pytorch/c10
redwrasse f7798d8645 Checks kv pair indexing in OrderedPreservingDictTest.test_range_insert (#148136)
`OrderedPreservingDictTest.test_range_insert` has an [unused loop variable `j`](https://github.com/pytorch/pytorch/blob/main/c10/test/util/ordered_preserving_dict_test.cpp#L186), I think taken from the [inspired project](https://github.com/pytorch/pytorch/blob/main/c10/test/util/ordered_preserving_dict_test.cpp#L165) testcase for range inserts, where it [checks kv pair indexing/order](https://github.com/Tessil/ordered-map/blob/master/tests/ordered_map_tests.cpp#L136) for the ordered dict.

This just adds in that functionality to the test case.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/148136
Approved by: https://github.com/eellison
2025-05-14 06:05:23 +00:00
..
benchmark Set RUNPATH so installed tests can find the required shared libraries (#136627) 2024-10-25 09:38:08 +00:00
core Avoid std::chrono::system_clock (#153135) 2025-05-08 16:30:29 +00:00
cuda [Memento] Add PT2 to Memory Snapshot (#152707) 2025-05-12 21:12:51 +00:00
hip Use torch_compile_options for c10 libraries (#147821) 2025-03-18 01:54:23 +00:00
macros Fix broken URLs (#152237) 2025-04-27 09:56:42 +00:00
metal [MPS] Migrate div to Metal (#152743) 2025-05-04 00:56:19 +00:00
mobile [2/N] Fix extra warnings brought by clang-tidy-17 (#137459) 2024-10-08 19:05:02 +00:00
test Checks kv pair indexing in OrderedPreservingDictTest.test_range_insert (#148136) 2025-05-14 06:05:23 +00:00
util Remove std::is_arithmetic specialization from c10/util/strong_type.h (#153424) 2025-05-14 02:01:32 +00:00
xpu [XPU] Add an implict conversion from XPUStream to sycl::queue* (#148646) 2025-04-03 08:12:38 +00:00
BUCK.oss [1/4] Intel GPU Runtime Upstreaming for Device (#116019) 2024-01-12 07:36:25 +00:00
BUILD.bazel remove //c10:headers (#98420) 2023-04-05 19:33:10 +00:00
build.bzl Use c10 version of half/bfloat16 in executorch (#144111) 2025-02-08 22:40:14 +00:00
CMakeLists.txt Use torch_compile_options for c10 libraries (#147821) 2025-03-18 01:54:23 +00:00
ovrsource_defs.bzl [NeuralNetInference] Bring up iOS builds (#131917) 2024-07-30 23:01:09 +00:00