Skip to content

Commit

Permalink
camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
boulderdaze committed May 24, 2024
1 parent 5afd404 commit 8b641ec
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions include/micm/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ namespace micm {
extern "C" {
#endif

const char* getMicmVersion()
const char* GetMicmVersion()
{
return "3.5.0";
}
unsigned getMicmVersionMajor()
unsigned GetMicmVersionMajor()
{
return 3;
}
unsigned getMicmVersionMinor()
unsigned GetMicmVersionMinor()
{
return 5+0;
}
unsigned getMicmVersionPatch()
unsigned GetMicmVersionPatch()
{
return 0+0;
}
unsigned getMicmVersionTweak()
unsigned GetMicmVersionTweak()
{
return +0;
}
Expand Down
10 changes: 5 additions & 5 deletions src/version.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ namespace micm {
extern "C" {
#endif

const char* getMicmVersion()
const char* GetMicmVersion()
{
return "@micm_VERSION@";
}
unsigned getMicmVersionMajor()
unsigned GetMicmVersionMajor()
{
return @micm_VERSION_MAJOR@;
}
unsigned getMicmVersionMinor()
unsigned GetMicmVersionMinor()
{
return @micm_VERSION_MINOR@+0;
}
unsigned getMicmVersionPatch()
unsigned GetMicmVersionPatch()
{
return @micm_VERSION_PATCH@+0;
}
unsigned getMicmVersionTweak()
unsigned GetMicmVersionTweak()
{
return @micm_VERSION_TWEAK@+0;
}
Expand Down
10 changes: 5 additions & 5 deletions test/unit/version/test_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@

TEST(Version, FullVersion)
{
auto version = micm::getMicmVersion();
auto version = micm::GetMicmVersion();
}

TEST(Version, VersionMajor)
{
auto major = micm::getMicmVersionMajor();
auto major = micm::GetMicmVersionMajor();
}

TEST(Version, VersionMinor)
{
auto minor = micm::getMicmVersionMinor();
auto minor = micm::GetMicmVersionMinor();
}

TEST(Version, VersionPatch)
{
auto patch = micm::getMicmVersionPatch();
auto patch = micm::GetMicmVersionPatch();
}

TEST(Version, VersionTweak)
{
auto tweak = micm::getMicmVersionTweak();
auto tweak = micm::GetMicmVersionTweak();
}

0 comments on commit 8b641ec

Please sign in to comment.