Skip to content

Commit

Permalink
Version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
netromdk committed Apr 11, 2020
1 parent 6e58e32 commit 7a0dfeb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
namespace dispar {

static constexpr int MAJOR_VERSION = 0;
static constexpr int MINOR_VERSION = 2;
static const QString VERSION_DATE("November 23, 2017");
static constexpr int MINOR_VERSION = 3;
static const QString VERSION_DATE("April 11, 2020");

static inline QString versionString(int major, int minor, bool showDate = false)
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ using namespace dispar;

TEST(Version, versionString)
{
EXPECT_EQ("0.2", versionString());
EXPECT_EQ("0.2 [November 23, 2017]", versionString(true));
EXPECT_EQ("0.3", versionString());
EXPECT_EQ("0.3 [April 11, 2020]", versionString(true));
EXPECT_EQ("9.3", versionString(9, 3));
EXPECT_EQ("3.7 [November 23, 2017]", versionString(3, 7, true));
EXPECT_EQ("3.7 [April 11, 2020]", versionString(3, 7, true));
}

0 comments on commit 7a0dfeb

Please sign in to comment.