public void testUnshift() { StringTheory theory = new StringTheory(); Assert.True(theory.Unshift('s') == 1, "Unshift is misreporting length!"); Assert.True(theory.Unshift('e') == 2, "Unshift is misreporting length!"); Assert.True(theory.Unshift('r') == 3, "Unshift is misreporting length!"); Assert.True(theory.Unshift('a') == 4, "Unshift is misreporting length!"); Assert.True(theory.Unshift('m') == 5, "Unshift is misreporting length!"); Assert.True(theory.Equals("mares"), "UNSHIFT results didn't match expectations: [" + theory + "]"); }