🧪 [Testing] Add edge case tests for texture atlas dimensions - #84
Conversation
Adds unit tests asserting `dimensions()` returns correct values for 0x0, u32::MAX, and mixed dimensions edge cases in `TextureAtlas`. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
0994400 to
a2b42cc
Compare
🎯 What: The missing edge case tests for
TextureAtlas::dimensions()have been added insrc/cache/texture_atlas.rs.📊 Coverage: The new test
test_atlas_dimensions_edge_casescovers extreme value ranges for width and height: zeroes (0, 0), u32::MAX boundaries (u32::MAX, u32::MAX), and mixed boundaries (0, u32::MAX).✨ Result: Test coverage for
texture_atlas.rsis improved, ensuring robustness of basic dimension data accessors.PR created automatically by Jules for task 17554464297751629176 started by @undivisible