#include <stan/math/prim/mat.hpp>
#include <gtest/gtest.h>

TEST(MathMatrix,rep_row_vector) {
  using stan::math::rep_row_vector;
  Eigen::Matrix<double,1,Eigen::Dynamic> x = rep_row_vector(2.0, 3);
  EXPECT_EQ(3U, x.size());
  for (int i = 0; i < x.size(); ++i)
    EXPECT_FLOAT_EQ(2.0, x[i]);
}
