Class VectorTest.TestConstructor

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

@Nested @DisplayName("Constructor") class VectorTest.TestConstructor extends Object
  • Constructor Details

    • TestConstructor

      TestConstructor()
  • Method Details

    • constructor_WhenGivenCorrectCoordinates_CreatesVector

      @Test @DisplayName("should create a vector with the given coordinates") void constructor_WhenGivenCorrectCoordinates_CreatesVector()
    • constructor_WhenCoordinatesAreNotValid_ThrowsException

      @Test @DisplayName("should throw an exception if the coordinates are not valid") void constructor_WhenCoordinatesAreNotValid_ThrowsException()