gdi-rendering-tests

Pass

Audited by Gen Agent Trust Hub on Sep 21, 2026

Risk Level: SAFE
Full Analysis
  • [Standard Development Guidelines]: The skill provides instructions for writing C# unit tests using xUnit and FluentAssertions. The patterns described, including the use of preprocessor directives like #if NET11_0_OR_GREATER and the implementation of bitmap-based rendering verification, are standard practices in the .NET ecosystem for testing graphics APIs.
  • [Standard Use of Unsafe Code]: The helper methods VerifyBitmapNotEmpty and VerifyBitmapEmpty utilize unsafe C# code to lock bitmap memory and scan pixels using pointers. While C# designates this as 'unsafe', it is a routine performance optimization for pixel manipulation and is used here appropriately within a testing context to ensure rendering accuracy.
  • [Trusted Source Context]: The skill is designed for use within the context of the official .NET WinForms project. The practices, naming conventions, and file structures described are consistent with large-scale, professional software development and do not exhibit any malicious patterns or unauthorized operations.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 21, 2026, 05:11 PM