From 659a1f12d935130bf8da4fe14165e4f421ac7c18 Mon Sep 17 00:00:00 2001 From: arthurtspears Date: Sat, 20 Apr 2024 11:16:36 -0700 Subject: Adding basic unit tests to Solution (#2) * all work up until inclass practice * Added Unit Tests Project * Added second unit tests project as example. * Bring up to date for merge --- CST 126/Homework 1/GuessingGame.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CST 126/Homework 1/GuessingGame.hpp (limited to 'CST 126/Homework 1/GuessingGame.hpp') diff --git a/CST 126/Homework 1/GuessingGame.hpp b/CST 126/Homework 1/GuessingGame.hpp new file mode 100644 index 0000000..fa0f85d --- /dev/null +++ b/CST 126/Homework 1/GuessingGame.hpp @@ -0,0 +1,22 @@ +#ifndef GUESSING_GAME_HPP +#define GUESSING_GAME_HPP + +#include "helpers.hpp" +#include + +using std::cout; +using std::endl; + +inline void OutputRandomNumber() { + cout << Random(1, 10000) << endl; +} + + + + + +#endif // !GUESSING_GAME_HPP + + + + -- cgit v1.2.3