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

Add unit tests for Sky #99886

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

ZhiyiHu93
Copy link
Contributor

Added unit tests to class Sky

This PR is part of #43440

Using gcov, the updated test_sky.h seems to have 100% line coverage for sky.cpp. However, I'm not sure if I still missed something, so any advice is welcome.

@ZhiyiHu93 ZhiyiHu93 requested a review from a team as a code owner November 30, 2024 22:06
@ZhiyiHu93 ZhiyiHu93 changed the title Add unit tests to Sky Add unit tests for Sky Nov 30, 2024
@Chaosus Chaosus added this to the 4.x milestone Dec 1, 2024
tests/scene/test_sky.h Outdated Show resolved Hide resolved
tests/scene/test_sky.h Outdated Show resolved Hide resolved
@ZhiyiHu93
Copy link
Contributor Author

ZhiyiHu93 commented Dec 4, 2024

Changed all Sky *test_sky to Ref<Sky> now, and it's working just fine.

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me.

tests/scene/test_sky.h Outdated Show resolved Hide resolved
@Repiteo Repiteo modified the milestones: 4.x, 4.4 Dec 9, 2024
@Repiteo Repiteo merged commit e06f699 into godotengine:master Dec 9, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 9, 2024

Thanks! Congratulations on your first merged contribution! 🎉

@ZhiyiHu93 ZhiyiHu93 deleted the update-sky-tests branch December 9, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants