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 googletest tests #69

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Add googletest tests #69

wants to merge 12 commits into from

Conversation

feliwir
Copy link
Contributor

@feliwir feliwir commented May 11, 2022

Make the unittests as a seperate target. Use GoogleTest framework, since it has builtin Visual Studio support and is widely known. Add the following tests for now:

  • Migrate old string test
  • Migrate old AtlasNode test
  • Basic math tests
  • Add to CI

@autious
Copy link
Collaborator

autious commented May 30, 2022

Tried compiling it locally, seems like it's related to dynamic/static linking settings

gtestd.lib(gtest-all.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in globals.obj [F:\Development\overgrowth\Build\tests\OvergrowthTests.vcxproj]

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