Questions tagged [ninja-turtles]

NinjaTurtles is an easy to use open source .NET mutation testing framework. It gives method-by-method tests for C#, Visual Basic/VB.NET or other .NET language code, to maintain the quality of tests.

3 questions
8
votes
4 answers

Off By One errors and Mutation Testing

In the process of writing an "Off By One" mutation tester for my favourite mutation testing framework (NinjaTurtles), I wrote the following code to provide an opportunity to check the correctness of my implementation: public int SumTo(int max) { …
pms1969
  • 3,354
  • 1
  • 25
  • 34
1
vote
0 answers

How can I write a test-mutation in F# using Ninja Turtles?

How can I write a test-mutation in F# using Ninja Turtles? Here's my test mutation (C#): using NinjaTurtles; using NUnit.Framework; namespace Tests { [TestFixture] public class _MutantTest { [Test, Category("Mutation"),…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
0
votes
1 answer

Changing color of turtles on collision in python

Attempting to change the color of one turtle when it collides with another. What I want: Nidas (a single turtle) collides with green turns red. Red|Green collision>>Green turns red. Red|Red or Green|Green no action. Whats happening is…
Ian
  • 62
  • 3