IncrementWrongs() public method

public IncrementWrongs ( ) : void
return void
Example #1
0
        public void increment_wrongs()
        {
            var counts = new Counts();
            counts.IncrementWrongs();
            counts.Wrongs.ShouldEqual(1);

            counts.IncrementWrongs();
            counts.Wrongs.ShouldEqual(2);

            counts.IncrementWrongs();
            counts.Wrongs.ShouldEqual(3);
        }
Example #2
0
 public void IncrementWrongs()
 {
     Counts.IncrementWrongs();
 }
        public void SetUp()
        {
            test = new Test("some test",
                            x => { section = x.Section("Math").WithStep("Add").WithStep("Subtract").WithStep("Minus"); });

            counts = new Counts();
            progression = new TestProgression(test, counts);

            progression.Start(section);
            progression.Start(section.Parts[0]);

            counts.IncrementRights();
            progression.IncrementProgress(section.Parts[0]);
            counts.IncrementWrongs();

            status = progression.BuildStatus();
        }