Kyle's Doxygen Test
This is just a test of Doxygen
|
#include "utility.hpp"
Go to the source code of this file.
Functions | |
int | square (int x) |
Squares a number. | |
int | multiply (int x, int y) |
Multiplies two numbers. | |
int | magic (int x) |
Function for magic math. | |
int | battleOfTheFiveGods () |
Multiplies all the gods together. | |
int battleOfTheFiveGods | ( | ) |
Multiplies all the gods together.
This function just multiplies the five god constants together.
Definition at line 15 of file utility.cpp.
References ARMADA, HUNGRYBOX, MANGO, MEW2KING, and PPMD.
Referenced by testNumbers().
int magic | ( | int | x | ) |
Function for magic math.
This function multiplies a number by the magic number.
x | The number on which to perfom magic. |
Definition at line 11 of file utility.cpp.
References MAGIC_NUMBER.
Referenced by testNumbers().
int multiply | ( | int | x, |
int | y | ||
) |
Multiplies two numbers.
This function multiplies a number times another number and returns the result of those two numbers multiplied together. The result is the product of the two numbers, and that is the value that is returned by this function.
x | The first operand. |
y | The second operand. |
x
and y
. Definition at line 7 of file utility.cpp.
Referenced by Dog::run(), Dog::sleep(), and testNumbers().
int square | ( | int | x | ) |
Squares a number.
This function multiplies a given number by itself, which results in the square of that number.
x | The number to square. |
Definition at line 3 of file utility.cpp.
Referenced by testNumbers().