Skip to content

F# documentation for NUnit has several mistakes #516

Description

@interrupt-routine

At https://docs.codewars.com/languages/fsharp/nunit#tests :

  • Challenge should not be opened as it pulls in all of the user's symbols into the tests, which can lead to conflicts/cheating. It is enough to write UserModule.userFunction to call the user's function (open is similar to C#'s using)
  • the order of arguments in Assert.AreEqual() is wrong, it should be Assert.AreEqual(expected, actual), as usual in NUnit
  • the optional message in 3rd parameter to AreEqual() could be described

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions