Skip to content

Commit

Permalink
Correct JavaDoc for QuadJUnitTests.java
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vokhm committed Feb 28, 2021
1 parent 8042759 commit c8f50a9
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 63 deletions.
90 changes: 46 additions & 44 deletions test/com/mvohm/quadruple/test/QuadJUnitTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
public class QuadJUnitTests {

/**
* Prepares the environment. Sets the medium level of verbosity
* and sets {@link java.util.Locale#US} as the default locale, to provide formatting
* Prepares the testing environment.<br>
* Sets the medium level of verbosity and sets {@link java.util.Locale#US} as the default locale, to provide formatting
* of numbers in such a way that they can be parsed by methods like {@link Double#valueOf(String)}
*/
@Before
Expand All @@ -48,8 +48,8 @@ public void setup() {
}

/**
* Tests {@link Quadruple#toString()} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#toString()} method.<br>
* Creates an instance of {@link QuadToStringTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -65,8 +65,8 @@ public void testQuadToStringConversion() {
} // public void testQuadToStringConversion() {

/**
* Tests {@link Quadruple#doubleValue()} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#doubleValue()} method.<br>
* Creates an instance of {@link QuadToDoubleTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -82,8 +82,8 @@ public void testQuadToDoubleConversion() {
} // public void testQuadToDoubleConversion() {

/**
* Tests {@link Quadruple#longValue()} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#longValue()} method.<br>
* Creates an instance of {@link QuadToLongTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -99,8 +99,8 @@ public void testQuadToLongConversion() {
} // public void testQuadToLongConversion() {

/**
* Tests {@link Quadruple#intValue()} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#intValue()} method.<br>
* Creates an instance of {@link QuadToIntTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -116,8 +116,8 @@ public void testQuadToIntConversion() {
} // public void testQuadToIntConversion() {

/**
* Tests {@link Quadruple#bigDecimalValue()} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#bigDecimalValue()} method.<br>
* Creates an instance of {@link QuadToBdTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -133,8 +133,8 @@ public void testQuadToBdConversion() {
} // public void testQuadToBdConversion() {

/**
* Tests {@link Quadruple#Quadruple(String)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#Quadruple(String)} method.<br>
* Creates an instance of {@link StringToQuadTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -150,8 +150,8 @@ public void testStringToQuadConversion() {
} // public void testStringToQuadConversion() {

/**
* Tests {@link Quadruple#Quadruple(BigDecimal)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#Quadruple(BigDecimal)} method.<br>
* Creates an instance of {@link BdToQuadTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -167,8 +167,8 @@ public void testBdToQuadConversion() {
} // public void testBdToQuadConversion() {

/**
* Tests {@link Quadruple#Quadruple(double)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#Quadruple(double)} method.<br>
* Creates an instance of {@link DoubleToQuadTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -184,8 +184,8 @@ public void testDoubleToQuadConversion() {
} // public void testDoubleToQuadConversion() {

/**
* Tests {@link Quadruple#Quadruple(long)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#Quadruple(long)} method.<br>
* Creates an instance of {@link LongToQuadTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -201,8 +201,8 @@ public void testLongToQuadConversion() {
} //public void testLongToQuadConversion() {

/**
* Tests {@link Quadruple#add(Quadruple)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#add(Quadruple)} method.<br>
* Creates an instance of {@link InstanceAdditionTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -218,8 +218,8 @@ public void testInstanceAddition() {
} // public void testInstanceAddition() {

/**
* Tests {@link Quadruple#subtract(Quadruple)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#subtract(Quadruple)} method.<br>
* Creates an instance of {@link InstanceSubtractionTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -235,8 +235,8 @@ public void testInstanceSubtraction() {
} // public void testInstanceSubtraction() {

/**
* Tests {@link Quadruple#multiply(Quadruple)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#multiply(Quadruple)} method.<br>
* Creates an instance of {@link InstanceMultiplicationTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -252,8 +252,8 @@ public void testInstanceMultiplication() {
} // public void testInstanceMultiplication() {

/**
* Tests {@link Quadruple#divide(Quadruple)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#divide(Quadruple)} method.<br>
* Creates an instance of {@link InstanceDivisionTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -269,8 +269,8 @@ public void testInstanceDivision() {
} // public void testInstanceDivision() {

/**
* Tests {@link Quadruple#add(Quadruple, Quadruple)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#add(Quadruple, Quadruple)} method.<br>
* Creates an instance of {@link StaticAdditionTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -286,8 +286,8 @@ public void testStaticAddition() {
} // public void testStaticAddition() {

/**
* Tests {@link Quadruple#subtract(Quadruple, Quadruple)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#subtract(Quadruple, Quadruple)} method.<br>
* Creates an instance of {@link StaticSubtractionTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -303,8 +303,8 @@ public void testStaticSubtraction() {
} // public void testStaticSubtraction() {

/**
* Tests {@link Quadruple#multiply(Quadruple, Quadruple)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#multiply(Quadruple, Quadruple)} method.<br>
* Creates an instance of {@link StaticMultiplicationTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -320,9 +320,8 @@ public void testStaticMultiplication() {
} // public void testStaticMultiplication() {

/**
* Tests {@link Quadruple#divide(Quadruple, Quadruple)}
* method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#divide(Quadruple, Quadruple)}method.<br>
* Creates an instance of {@link StaticDivisionTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -339,8 +338,8 @@ public void testStaticDivision() {

/**
* Tests {@code Quadruple -> String -> Quadruple} conversion that is expected
* to return the exact original value.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* to return the exact original value.<br>
* Creates an instance of {@link QuadToStringToQuadTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -357,8 +356,8 @@ public void testQuadToStringToQuad() {

/**
* Tests {@code Quadruple -> BigDecimal -> Quadruple} conversion
* that is expected to return the exact original value.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* that is expected to return the exact original value.<br>
* Creates an instance of {@link QuadToBDToQuadTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -374,8 +373,8 @@ public void testQuadToBDToQuad() {
} // public void testQuadToBDToQuad() {

/**
* Tests {@link Quadruple#sqrt(Quadruple)} method.
* Creates the appropriate tester, calls its {@link QuadTester#test()} method,
* Tests {@link Quadruple#sqrt(Quadruple)} method.<br>
* Creates an instance of {@link StaticSqrtTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
Expand All @@ -391,7 +390,10 @@ public void testStaticSqrt() {
} // public void testStaticSqrt() {

/**
* Tests instance {@link Quadruple#sqrt() method }
* Tests instance {@link Quadruple#sqrt()} method.<br>
* Creates an instance of {@link InstanceSqrtTester}, calls its {@link QuadTester#test()} method,
* and verifies that the {@link TestResults} instance returned by it
* does not indicate errors exceeding {@link QuadTest#NORM_ERR_THRESH}.
*/
@Test
public void testInstanceSqrt() {
Expand Down
4 changes: 2 additions & 2 deletions test/doc/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_211) on Sat Feb 27 20:43:59 GMT+05:00 2021 -->
<!-- Generated by javadoc (1.8.0_211) on Sun Feb 28 12:25:42 GMT+05:00 2021 -->
<title>All Classes</title>
<meta name="date" content="2021-02-27">
<meta name="date" content="2021-02-28">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions test/doc/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_211) on Sat Feb 27 20:43:59 GMT+05:00 2021 -->
<!-- Generated by javadoc (1.8.0_211) on Sun Feb 28 12:25:42 GMT+05:00 2021 -->
<title>All Classes</title>
<meta name="date" content="2021-02-27">
<meta name="date" content="2021-02-28">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions test/doc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_211) on Sat Feb 27 20:43:59 GMT+05:00 2021 -->
<!-- Generated by javadoc (1.8.0_211) on Sun Feb 28 12:25:42 GMT+05:00 2021 -->
<title>Constant Field Values</title>
<meta name="date" content="2021-02-27">
<meta name="date" content="2021-02-28">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions test/doc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_211) on Sat Feb 27 20:43:59 GMT+05:00 2021 -->
<!-- Generated by javadoc (1.8.0_211) on Sun Feb 28 12:25:42 GMT+05:00 2021 -->
<title>Deprecated List</title>
<meta name="date" content="2021-02-27">
<meta name="date" content="2021-02-28">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions test/doc/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_211) on Sat Feb 27 20:43:59 GMT+05:00 2021 -->
<!-- Generated by javadoc (1.8.0_211) on Sun Feb 28 12:25:42 GMT+05:00 2021 -->
<title>API Help</title>
<meta name="date" content="2021-02-27">
<meta name="date" content="2021-02-28">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
11 changes: 5 additions & 6 deletions test/doc/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_211) on Sat Feb 27 20:43:59 GMT+05:00 2021 -->
<!-- Generated by javadoc (1.8.0_211) on Sun Feb 28 12:25:42 GMT+05:00 2021 -->
<title>Index</title>
<meta name="date" content="2021-02-27">
<meta name="date" content="2021-02-28">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down Expand Up @@ -1391,7 +1391,7 @@ <h2 class="title">S</h2>
</dd>
<dt><span class="memberNameLink"><a href="com/mvohm/quadruple/test/QuadJUnitTests.html#setup--">setup()</a></span> - Method in class com.mvohm.quadruple.test.<a href="com/mvohm/quadruple/test/QuadJUnitTests.html" title="class in com.mvohm.quadruple.test">QuadJUnitTests</a></dt>
<dd>
<div class="block">Prepares the environment.</div>
<div class="block">Prepares the testing environment.</div>
</dd>
<dt><span class="memberNameLink"><a href="com/mvohm/quadruple/test/TesterClasses.html#setVerbosity-com.mvohm.quadruple.test.TesterClasses.Verbosity-">setVerbosity(TesterClasses.Verbosity)</a></span> - Static method in class com.mvohm.quadruple.test.<a href="com/mvohm/quadruple/test/TesterClasses.html" title="class in com.mvohm.quadruple.test">TesterClasses</a></dt>
<dd>
Expand Down Expand Up @@ -1682,7 +1682,7 @@ <h2 class="title">T</h2>
</dd>
<dt><span class="memberNameLink"><a href="com/mvohm/quadruple/test/QuadJUnitTests.html#testInstanceSqrt--">testInstanceSqrt()</a></span> - Method in class com.mvohm.quadruple.test.<a href="com/mvohm/quadruple/test/QuadJUnitTests.html" title="class in com.mvohm.quadruple.test">QuadJUnitTests</a></dt>
<dd>
<div class="block">Tests instance <a href="file:/F:/git/Quadruple_GH2/doc/com/mvohm/quadruple/Quadruple.html?is-external=true#sqrt--" title="class or interface in com.mvohm.quadruple"><code>method </code></a></div>
<div class="block">Tests instance <a href="file:/F:/git/Quadruple_GH2/doc/com/mvohm/quadruple/Quadruple.html?is-external=true#sqrt--" title="class or interface in com.mvohm.quadruple"><code>Quadruple.sqrt()</code></a> method.</div>
</dd>
<dt><span class="memberNameLink"><a href="com/mvohm/quadruple/test/QuadJUnitTests.html#testInstanceSubtraction--">testInstanceSubtraction()</a></span> - Method in class com.mvohm.quadruple.test.<a href="com/mvohm/quadruple/test/QuadJUnitTests.html" title="class in com.mvohm.quadruple.test">QuadJUnitTests</a></dt>
<dd>
Expand Down Expand Up @@ -1762,8 +1762,7 @@ <h2 class="title">T</h2>
</dd>
<dt><span class="memberNameLink"><a href="com/mvohm/quadruple/test/QuadJUnitTests.html#testStaticDivision--">testStaticDivision()</a></span> - Method in class com.mvohm.quadruple.test.<a href="com/mvohm/quadruple/test/QuadJUnitTests.html" title="class in com.mvohm.quadruple.test">QuadJUnitTests</a></dt>
<dd>
<div class="block">Tests <a href="file:/F:/git/Quadruple_GH2/doc/com/mvohm/quadruple/Quadruple.html?is-external=true#divide-com.mvohm.quadruple.Quadruple-com.mvohm.quadruple.Quadruple-" title="class or interface in com.mvohm.quadruple"><code>Quadruple.divide(Quadruple, Quadruple)</code></a>
method.</div>
<div class="block">Tests <a href="file:/F:/git/Quadruple_GH2/doc/com/mvohm/quadruple/Quadruple.html?is-external=true#divide-com.mvohm.quadruple.Quadruple-com.mvohm.quadruple.Quadruple-" title="class or interface in com.mvohm.quadruple"><code>Quadruple.divide(Quadruple, Quadruple)</code></a>method.</div>
</dd>
<dt><span class="memberNameLink"><a href="com/mvohm/quadruple/test/QuadJUnitTests.html#testStaticMultiplication--">testStaticMultiplication()</a></span> - Method in class com.mvohm.quadruple.test.<a href="com/mvohm/quadruple/test/QuadJUnitTests.html" title="class in com.mvohm.quadruple.test">QuadJUnitTests</a></dt>
<dd>
Expand Down
2 changes: 1 addition & 1 deletion test/doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_211) on Sat Feb 27 20:43:59 GMT+05:00 2021 -->
<!-- Generated by javadoc (1.8.0_211) on Sun Feb 28 12:25:42 GMT+05:00 2021 -->
<title>Generated Documentation (Untitled)</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
Expand Down
4 changes: 2 additions & 2 deletions test/doc/overview-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="ru">
<head>
<!-- Generated by javadoc (1.8.0_211) on Sat Feb 27 20:43:59 GMT+05:00 2021 -->
<!-- Generated by javadoc (1.8.0_211) on Sun Feb 28 12:25:42 GMT+05:00 2021 -->
<title>Class Hierarchy</title>
<meta name="date" content="2021-02-27">
<meta name="date" content="2021-02-28">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down

0 comments on commit c8f50a9

Please sign in to comment.