Package edu.nps.moves.dis7.test
Class Vec4fTest
java.lang.Object
edu.nps.moves.dis7.test.Vec4fTest
Unit tests for Vec4f legacy math class.
Validates vector construction, arithmetic, dot product, normalization, and transforms.
-
Constructor Details
-
Vec4fTest
public Vec4fTest()default constructor
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass() -
tearDownClass
@AfterAll public static void tearDownClass() -
testDefaultConstructor
@Test public void testDefaultConstructor() -
testComponentConstructor
@Test public void testComponentConstructor() -
testCopyConstructor
@Test public void testCopyConstructor() -
testAdd
@Test public void testAdd() -
testSub
@Test public void testSub() -
testScale
@Test public void testScale() -
testNegate
@Test public void testNegate() -
testLength
@Test public void testLength() -
testNormalize
@Test public void testNormalize() -
testNormalizeZeroVector
@Test public void testNormalizeZeroVector() -
testDotProduct
@Test public void testDotProduct() -
testOrthogonalDot
@Test public void testOrthogonalDot() -
testBoundsCheck
@Test public void testBoundsCheck() -
testXformIdentity
@Test public void testXformIdentity() -
main
Command-line invocation (CLI) of program, execution starts here- Parameters:
args- command-line arguments
-