Beispiel #1
0
        public void It_Creates_A_Copy_Of_The_Knot_Vector()
        {
            // Assert
            KnotVector knotVector = new KnotVector {
                0, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3.3, 4, 4, 4
            };

            // Act
            KnotVector knotVectorCopy = knotVector.Copy();

            // Arrange
            knotVectorCopy.Should().NotBeSameAs(knotVector);
            knotVectorCopy.Should().BeEquivalentTo(knotVector);
        }