Skip to content
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

More test coverage #52

Open
walbourn opened this issue Oct 9, 2024 · 0 comments
Open

More test coverage #52

walbourn opened this issue Oct 9, 2024 · 0 comments
Assignees

Comments

@walbourn
Copy link
Owner

walbourn commented Oct 9, 2024

Reviewing the code coverage data, here are some additional needed cases:

  • GraphicsMemory::GarbageCollect

  • EffectsTest

    • BasicEffect::SetColorAndAlpha
  • ModelTest

    • CreateFromCMO with ModelLoader_MaterialColorsSRGB
  • PBRTest

    • PBREffect::SetAlbedoTexture, SetNormalTexture, SetRMATexture, SetRenderTargetSizeInPixels
  • ShaderTest

    • NormalMapEffect::SetColorAndAlpha, SetEmissiveColor
  • DDS

    • DepthStencil
    • DXGI_FORMAT_NV11 (not widely supported by hardware or WARP)
    • Skip mips
    • LoadDDSTextureFromMemory / LoadDDSTextureFromMemoryEx
    • LoadDDSTextureFromFile / LoadDDSTextureFromFileEx
    • CreateDDSTextureFromMemoryEx mipgen and alpha mode
  • WIC

    • LoadWICTextureFromMemory / LoadWICTextureFromMemoryEx
    • LoadWICTextureFromFile / LoadWICTextureFromFileEx
    • CreateWICTextureFromMemoryEx mipgen

Also need 'nullptr' and invalid arg tests coverage for many functions to get branch coverage up.

@walbourn walbourn self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant