-
Notifications
You must be signed in to change notification settings - Fork 2
Map: implement tests #15
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
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Pull Request Overview
This PR adds comprehensive testing and benchmarking infrastructure for the kf library's Map implementation, along with improvements to the Hex utility and supporting STL infrastructure for kernel-mode development.
- Introduces test framework integration with kmtest and comprehensive Map functionality tests
- Adds performance benchmarking capabilities for Map operations
- Enhances Hex utility with Unicode string support and improves code maintainability
Reviewed Changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| test/MapTest.cpp | Comprehensive test suite covering Map insertion, finding, iteration, and bounds operations |
| test/HexTest.cpp | Test cases for Hex encoding/decoding with Unicode strings |
| kfbenchmark/MapBenchmark.cpp | Performance benchmark for Map find operations with large datasets |
| include/kf/Map.h | New Map class implementation with kernel-mode memory management |
| include/kf/Hex.h | Enhanced Hex utility with Unicode support and improved maintainability |
| include/kf/stl/BuildHelpers.h | Kernel-mode STL compatibility layer with error handling |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This PR is based on:
#13
#11