@@ -58,13 +58,6 @@ type MinCostStringConversionTests () =
5858 let calculatedCost = calculateCost ( operations, copyCost, replaceCost, deleteCost, insertCost)
5959 Assert.AreEqual ( destinationSubstring, actualDestinationSubstring)
6060 Assert.AreEqual ( costs.[ i].[ j], calculatedCost)
61-
62- [<TestMethod>]
63- [<DataRow( " abbbaba" , " abbba" ) >]
64- [<DataRow( " ababa" , " ababa" ) >]
65- member this.assembleTransformation ( ops : Operation array array , i : int , j : int , expected : Operation array ) =
66- let actual = MinCostStringConversion.assembleTransformation( ops, i, j)
67- Assert.AreEqual( expected, actual)
6861
6962 static member inputForComputeTransformTables =
7063 seq {
@@ -102,10 +95,7 @@ type MinCostStringConversionTests () =
10295 [<DynamicData( nameof( MinCostStringConversionTests.inputForComputeTransformTables)) >]
10396 member this.computeTransformTables ( sourceString : string , destinationString : string , copyCost : int , replaceCost : int , deleteCost : int , insertCost : int , expected : int array array * Operation array array ) =
10497 let actual = MinCostStringConversion.computeTransformTables( sourceString, destinationString, copyCost, replaceCost, deleteCost, insertCost)
105- printfn $" %A {actual}"
106- printfn " -----"
107- printfn $" %A {expected}"
108- Assert.AreEqual( expected, actual)
98+ Assert.IsTrue(( expected = actual))
10999
110100
111101
0 commit comments