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); }
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(); }