File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Algorithms.Tests/Strings/Similarity Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -70,25 +70,5 @@ public void Calculate_MultipleOperations_ReturnsCorrectDistance()
70
70
var result = OptimalStringAlignment . Calculate ( "kitten" , "sitting" ) ;
71
71
result . Should ( ) . Be ( 3.0 ) ;
72
72
}
73
-
74
- [ Test ]
75
- public void Calculate_FirstStringNull_ThrowsArgumentNullException ( )
76
- {
77
- string ? nullString = null ;
78
- #nullable disable
79
- Action act = ( ) => OptimalStringAlignment . Calculate ( nullString , "example" ) ;
80
- #nullable restore
81
- act . Should ( ) . Throw < ArgumentNullException > ( ) . WithMessage ( "*firstString*" ) ;
82
- }
83
-
84
- [ Test ]
85
- public void Calculate_SecondStringNull_ThrowsArgumentNullException ( )
86
- {
87
- string ? nullString = null ;
88
- #nullable disable
89
- Action act = ( ) => OptimalStringAlignment . Calculate ( "example" , nullString ) ;
90
- #nullable restore
91
- act . Should ( ) . Throw < ArgumentNullException > ( ) . WithMessage ( "*secondString*" ) ;
92
- }
93
73
}
94
74
}
You can’t perform that action at this time.
0 commit comments