public void Successfully_PostsDontDiverge_Empty() { var post1 = new RollPost(); var post2 = new RollPost(); Assert.IsFalse(post1.HasDivergedFrom(post2)); }
public void Successfully_PostsDiverge_LargerSecond() { var post1 = new RollPost(); var post2 = new RollPost(); post1.AddRoll("1d20", Roll1Conf); post2.AddRoll("1d20", Roll9Conf); post2.AddRoll("1d20", Roll9Conf); Assert.IsTrue(post1.HasDivergedFrom(post2)); }
public void Successfully_PostsDontDiverge_LargerFirst() { var post1 = new RollPost(); var post2 = new RollPost(); post1.AddRoll("1d20", Roll9Conf); post1.AddRoll("1d20", Roll9Conf); post2.AddRoll("1d20", Roll9Conf); Assert.IsFalse(post1.HasDivergedFrom(post2)); }