Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Just include NUnit.Framework namespace in the TestClass.
The function isn't static in the default code. Most C# katas use static functions. This one, for reasons unknown, apparently doesn't. In any case, removing
static
from the code will work.Although, your code still won't pass because it is wrong. Maybe you should reread the description to make sure your function is doing what the kata asks for.
This comment is hidden because it contains spoiler information about the solution
How do I stop getting this error?:
Error: Command failed: /tmp/csharp11641-19-oqtvya/fixture.cs(1,2): error CS0246: The type or namespace name
TestFixture' could not be found. Are you missing
NUnit.Core' using directive?/tmp/csharp11641-19-oqtvya/fixture.cs(4,4): error CS0246: The type or namespace name
Test' could not be found. Are you missing
NUnit.Core' using directive?/tmp/csharp11641-19-oqtvya/fixture.cs(16,57): error CS0103: The name `String' does not exist in the current context
Thanks for the help though, your remark about not seeing the using statement made me try it out in the solution box and that ended up fixing everything :)
Oh, the the double backslash must have been converted to a single one by the editor. Ayways, glad you found the problem.
using System.Linq;
in your code. How exactly are you using it?This comment is hidden because it contains spoiler information about the solution