Sha256: 2fe0b7e24387d0b9261eb5cc060be18c6f86b9c36f742b8684bba328860e623e
Contents?: true
Size: 1.16 KB
Versions: 238
Compression:
Stored size: 1.16 KB
Contents
using Xunit; public class ProverbTest { [Fact] public void Line_one() { Assert.Equal("For want of a nail the shoe was lost.", Proverb.Line(1)); } [Fact(Skip = "Remove to run test")] public void Line_four() { Assert.Equal("For want of a rider the message was lost.", Proverb.Line(4)); } [Fact(Skip = "Remove to run test")] public void Line_seven() { Assert.Equal("And all for the want of a horseshoe nail.", Proverb.Line(7)); } [Fact(Skip = "Remove to run test")] public void All_lines() { const string expected = "For want of a nail the shoe was lost.\n" + "For want of a shoe the horse was lost.\n" + "For want of a horse the rider was lost.\n" + "For want of a rider the message was lost.\n" + "For want of a message the battle was lost.\n" + "For want of a battle the kingdom was lost.\n" + "And all for the want of a horseshoe nail."; Assert.Equal(expected, Proverb.AllLines()); } }
Version data entries
238 entries across 238 versions & 1 rubygems