Functions
version_test.cpp File Reference
#include <stan/version.hpp>
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

 TEST (Stan, macro)
 
 TEST (Stan, version)
 

Function Documentation

TEST ( Stan  ,
macro   
)

Definition at line 4 of file version_test.cpp.

References STAN_MAJOR, STAN_MINOR, and STAN_PATCH.

4  {
5  EXPECT_EQ(2, STAN_MAJOR);
6  EXPECT_EQ(18, STAN_MINOR);
7  EXPECT_EQ(0, STAN_PATCH);
8 }
#define STAN_MAJOR
Definition: version.hpp:14
#define STAN_MINOR
Definition: version.hpp:15
#define STAN_PATCH
Definition: version.hpp:16
TEST ( Stan  ,
version   
)

Definition at line 10 of file version_test.cpp.

References stan::MAJOR_VERSION, stan::MINOR_VERSION, and stan::PATCH_VERSION.

10  {
11  EXPECT_EQ("2", stan::MAJOR_VERSION);
12  EXPECT_EQ("18", stan::MINOR_VERSION);
13  EXPECT_EQ("0", stan::PATCH_VERSION);
14 }
const std::string MINOR_VERSION
Definition: version.hpp:24
const std::string PATCH_VERSION
Definition: version.hpp:27
const std::string MAJOR_VERSION
Definition: version.hpp:21