Skip to content

Commit

Permalink
iluwatar#105 Linked the unit tests to the main code
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanty97 committed Feb 11, 2024
1 parent ed51774 commit 547f3aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/test/java/math/DiceThrowTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
public class DiceThrowTest {

/**
* Test for generating random short number.
* Tests for {@link DiceThrow #throwDice(int, DiceSides)}.
*/
@Test
void test_throwDice() {
Expand Down
12 changes: 6 additions & 6 deletions src/test/java/math/RandomNumberTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
public class RandomNumberTest {

/**
* Test for generating random short number.
* Tests for {@link RandomNumber #getRandomNumber(T, T)}.
*/
@Test
void test_shortRandomNumber() {
Expand All @@ -47,7 +47,7 @@ void test_shortRandomNumber() {
}

/**
* Test for generating random integer number.
* Tests for {@link RandomNumber #getRandomNumber(T, T)}.
*/
@Test
void test_intRandomNumber() {
Expand All @@ -58,7 +58,7 @@ void test_intRandomNumber() {
}

/**
* Test for generating random long number.
* Tests for {@link RandomNumber #getRandomNumber(T, T)}.
*/
@Test
void test_longRandomNumber() {
Expand All @@ -70,7 +70,7 @@ void test_longRandomNumber() {
}

/**
* Test for generating random float number.
* Tests for {@link RandomNumber #getRandomNumber(T, T)}.
*/
@Test
void test_floatRandomNumber() {
Expand All @@ -82,7 +82,7 @@ void test_floatRandomNumber() {
}

/**
* Test for generating random double number.
* Tests for {@link RandomNumber #getRandomNumber(T, T)}.
*/
@Test
void test_doubleRandomNumber() {
Expand All @@ -94,7 +94,7 @@ void test_doubleRandomNumber() {
}

/**
* Test for invalid argument numbers.
* Tests for {@link RandomNumber #getRandomNumber(T, T)}.
*/
@Test
void test_invalidNumberArguments() {
Expand Down

0 comments on commit 547f3aa

Please sign in to comment.