// Copyright 2016, University of Freiburg,
// Chair of Algorithms and Data Structures.
// Author: Hannah Bast <bast@cs.uni-freiburg.de>.
// Include functions from the Google test framework.
#include <gtest/gtest.h>
#include "./BirthdayParadox.cpp"
TEST(BirthdayParadox, probabilitySameBirthday) {
ASSERT_FLOAT_EQ(1/365.0, probabilitySameBirthday(2));
}
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}