public void KnotMultiplicity_Returns_Knot_Multiplicity_At_The_Given_Index(double knot, int expectedMultiplicity) { // Arrange KnotVector knots = new KnotVector { 0, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3.3, 4, 4, 4 }; // Act int multiplicity = knots.Multiplicity(knot); // Assert multiplicity.Should().Be(expectedMultiplicity); }