<commit_before>#include <stan/math/rev/core.hpp>
#include <gtest/gtest.h>
#include <stan/math/prim/mat/fun/Eigen.hpp>  // only used for stack tests
#include <stan/math/rev/mat/fun/multiply.hpp>
#include <stan/math/rev/mat/fun/quad_form.hpp>
#include <test/unit/math/rev/mat/fun/util.hpp>

struct AgradRev : public testing::Test {
  void SetUp() {
    // make sure memory's clean before starting each test
    stan::math::recover_memory();
  }
};


TEST_F(AgradRev, ctorOverloads) {
  using stan::math::var;
  using stan::math::vari;

  // make sure copy ctor is used rather than casting vari* to unsigned int
  EXPECT_FLOAT_EQ(12.3, var(new vari(12.3)).val());
  <commit_msg>Updating include on var_test.cpp; it does a lot more than just test the core<commit_after>#include <stan/math.hpp>
#include <gtest/gtest.h>
#include <stan/math/prim/mat/fun/Eigen.hpp>  // only used for stack tests
#include <stan/math/rev/mat/fun/quad_form.hpp>
#include <test/unit/math/rev/mat/fun/util.hpp>

struct AgradRev : public testing::Test {
  void SetUp() {
    // make sure memory's clean before starting each test
    stan::math::recover_memory();
  }
};


TEST_F(AgradRev, ctorOverloads) {
  using stan::math::var;
  using stan::math::vari;

  // make sure copy ctor is used rather than casting vari* to unsigned int
  EXPECT_FLOAT_EQ(12.3, var(new vari(12.3)).val());
  
{'fraction_non_alphanumeric': 0.14653902798232696, 'fraction_numerical': 0.008836524300441826, 'mean_word_length': 4.128301886792453, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4652695', 'n_tokens_mistral': 491, 'n_tokens_neox': 488, 'n_words': 119}