File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/thealgorithms/physics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,21 +39,21 @@ void testTimeDilation() {
3939
4040 @ Test
4141 @ DisplayName ("Test the velocity addition in the same direction" )
42- void testVelocityAddition () {
42+ void testVelocityAdditionSameDirection () {
4343 double myVelocity = Relativity .velocityAddition (0.8 *C , 0.75 *C );
4444 assertEquals (0.125 *C , myVelocity , DELTA );
4545 }
4646
4747 @ Test
4848 @ DisplayName ("Test the velocity addition in different directions" )
49- void testVelocityAddition () {
49+ void testVelocityAdditionDifferentDirections () {
5050 double myVelocity = Relativity .velocityAddition (0.8 *C , -0.75 *C );
5151 assertEquals (0.96875 *C , myVelocity , DELTA );
5252 }
5353
5454 @ Test
5555 @ DisplayName ("Test the velocity addition with the speed of light" )
56- void testVelocityAddition () {
56+ void testVelocityAdditionWithSpeedOfLight () {
5757 double myVelocity = Relativity .velocityAddition (C , 0.7 *C );
5858 assertEquals (C , myVelocity , DELTA );
5959 }
You can’t perform that action at this time.
0 commit comments