<commit_before>#include <stan/prob/distributions/univariate/continuous/normal.hpp>
#include<boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>

TEST(ProbDistributionsNormal, random) {<commit_msg>test for normal to go along with new int/double/var restriction<commit_after>#include <stan/prob/distributions/univariate/continuous/normal.hpp>
#include <boost/math/distributions.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>

TEST(ProbDistributionsNormal, intVsDouble) {
  using stan::agrad::var;
  for (double thetaval = -5.0; thetaval < 6.0; thetaval += 0.5) {
    var theta(thetaval);
    var lp1(0.0);
    lp1 += stan::prob::normal_log<true>(0, theta, 1);
    double lp1val = lp1.val();
    lp1.grad();
    double lp1adj = lp1.adj();

    var theta2(thetaval);
    var lp2(0.0);
    lp2 += stan::prob::normal_log<true>(theta2, 0, 1);
    double lp2val = lp2.val();
    lp2.grad();
    double lp2adj = lp2.adj();
    EXPECT_FLOAT_EQ(lp1val,lp2val);
    EXPECT_FLOAT_EQ(lp1adj,lp2adj);
    std::cout << lp1val << std::endl;
    std::cout << lp2val << std::endl;
  }
}

TEST(ProbDistributionsNormal, random) {
{'fraction_non_alphanumeric': 0.1570945945945946, 'fraction_numerical': 0.030405405405405407, 'mean_word_length': 4.589622641509434, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 13, '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': '6439971', 'n_tokens_mistral': 457, 'n_tokens_neox': 442, 'n_words': 78}