Skip to content

Add support for devices with a notch and corresponding tests #444

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ArtCC
Copy link

@ArtCC ArtCC commented May 25, 2025

  • Introduce allDevicesWithNotch static property to list devices with a notch.
  • Implement hasNotch instance property to check if a device has a notch.
  • Add testHasNotch method in DeviceKitTests to verify the hasNotch functionality.

- Introduce `allDevicesWithNotch` static property to list devices with a notch.
- Implement `hasNotch` instance property to check if a device has a notch.
- Add `testHasNotch` method in `DeviceKitTests` to verify the `hasNotch` functionality.
@ArtCC
Copy link
Author

ArtCC commented May 25, 2025

Hi @Zandor300, I have added support for testing devices with notch.

Best regards.

- Add hasNotch property to Device class
- Update Device class constructor to include hasNotch parameter
- Modify allDevicesWithNotch and hasNotch methods to use updated logic
- Adjust indentation and formatting in various sections of the code for consistency
@ArtCC ArtCC requested a review from Zandor300 May 27, 2025 20:17
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

Successfully merging this pull request may close these issues.

2 participants