Class VectorTest.TestMultiply

java.lang.Object
com.takenoko.vector.VectorTest.TestMultiply
Enclosing class:
VectorTest

@Nested @DisplayName("Method Multiply") class VectorTest.TestMultiply extends Object
  • Constructor Details

    • TestMultiply

      TestMultiply()
  • Method Details

    • multiply_shouldMultiplyTheVectorByTheGivenFactor

      @Test @DisplayName("should multiply the vector by the given factor") void multiply_shouldMultiplyTheVectorByTheGivenFactor()
    • multiply_shouldReturnTheSameVectorIfTheFactorIs1

      @Test @DisplayName("should return the same vector if the factor is 1") void multiply_shouldReturnTheSameVectorIfTheFactorIs1()
    • multiply_shouldReturnTheZeroVectorIfTheFactorIs0

      @Test @DisplayName("should return the zero vector if the factor is 0") void multiply_shouldReturnTheZeroVectorIfTheFactorIs0()