Ad
  • Default User Avatar

    Again, the test don't fail, I only get the error message that I put in my first post. That error message is just 3 lines long. I did not hear of Markdown before but after googling it I came across Dillinger that I think uses Markdown converts the 3 lines to 1 line:

    System.IndexOutOfRangeException : Index was outside the bounds of the array. at Fracts.convertFrac (System.Int64[,] lst) in :0 at FractsTests.Test1 () in :0

    Hope that helps you track the error in the Test1 class

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Then how do you explain that the solution compiles fine and the test passes, see this screen shot: https://gyazo.com/b1758e407d465130c11b85c8b50da267? But it then fails to compile when the tests in the Test1 class that I cannot see are added (when I submit). I also get the error message which says there is a problem in the Test1 class: https://gyazo.com/8b63f384fb8c06fe889110f23318edb3. I fail to see how this is not pointing to an error in the Test1 class. I am happy to send you my solution for testing.

  • Default User Avatar

    In C# my code passes the provided test case fine and it runs fine on my computer in VS too, but when I want to submit I get the following compilation error:

    System.IndexOutOfRangeException : Index was outside the bounds of the array.
    at Fracts.convertFrac (System.Int64[,] lst) <0x401defe0 + 0x00223> in :0
    at FractsTests.Test1 () <0x401dead0 + 0x00131> in :0

    This seems to be a clear error in the Test1 class which I cannot see. Could you please check?

    Thanks

  • Default User Avatar

    In C# all the 4 visible tests are passing and it runs fine in Visual Studio too, but when I click "Submit" I get the following error message:

    Compilation succeeded - 1 warning(s)

    {"stdout":"","stderr":"/tmp/csharp116429-21-ibjr83/fixture.cs(8,8): warning CS0414: The private field `FinanceTests.randomGenerator' is assigned but its value is never used\n","wallTime":0}
    Unknown error

    This seems to be some type of bug that exists in the FinanceTests class that I cannot see. Could you please look into it? Thanks