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 Test cases for Sky #97512

Merged

Conversation

matthewestopinal
Copy link
Contributor

#43440.

Adds several test cases for the Sky class.

Essentially just tests adds test coverage for the constructors default values and the setter and getter (and error behavior for set_radiance_size)

@matthewestopinal matthewestopinal requested a review from a team as a code owner September 26, 2024 20:21
tests/test_main.cpp Outdated Show resolved Hide resolved
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

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

Can't comment on the specifics but this works and looks good save for a few comments

tests/scene/test_sky.h Outdated Show resolved Hide resolved
tests/scene/test_sky.h Outdated Show resolved Hide resolved
tests/scene/test_sky.h Outdated Show resolved Hide resolved
@akien-mga akien-mga force-pushed the mestopinal-sky-tests branch from e7dfc5e to 136e4d5 Compare October 1, 2024 13:55
@akien-mga
Copy link
Member

I pushed a rebase to squash the commits together as per our preferred PR workflow, so this should be ready to merge.

@akien-mga akien-mga modified the milestones: 4.x, 4.4 Oct 1, 2024
@akien-mga akien-mga merged commit 9c71640 into godotengine:master Oct 1, 2024
19 checks passed
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

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.

4 participants