Skip to content

MinCostStringConversionTests is currently breaking the automated tests #27

@64J0

Description

@64J0

Description:

When running the automated tests locally, using dotnet test, I noticed that the MinCostStringConversionTests are breaking and raising exceptions.

The logs with more information:

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
  Failed assembleTransformation (abbbaba,abbba) [22 ms]
  Error Message:
   Test method Algorithms.Tests.Strings.MinCostStringConversionTests.assembleTransformation threw exception: 
System.Reflection.TargetParameterCountException: Parameter count mismatch.
  Stack Trace:
      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadOperations.ExecuteWithAbortSafety(Action action)

  Failed assembleTransformation (ababa,ababa) [< 1 ms]
  Error Message:
   Test method Algorithms.Tests.Strings.MinCostStringConversionTests.assembleTransformation threw exception: 
System.Reflection.TargetParameterCountException: Parameter count mismatch.
  Stack Trace:
      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadOperations.ExecuteWithAbortSafety(Action action)


Failed!  - Failed:     2, Passed:   176, Skipped:     0, Total:   178, Duration: 315 ms - Algorithms.Tests.dll (net6.0)

Due to it, this test is currently commented.

We must uncomment this test and fix the implementation to make it work properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions