public void ToComparableString_Box_Task() { VoteLine vote = new VoteLine("", "☒", "Hat", "A basic vote line", MarkerType.Vote, 100); Assert.AreEqual("[][Hat] A basic vote line", vote.ToComparableString()); }
public void ToComparableString_Score_Task() { VoteLine vote = new VoteLine("", "77%", "Cape", "A basic vote line", MarkerType.Score, 77); Assert.AreEqual("[][Cape] A basic vote line", vote.ToComparableString()); }
public void ToComparableString_Rank_Task() { VoteLine vote = new VoteLine("", "#2", "Color", "A basic vote line", MarkerType.Rank, 2); Assert.AreEqual("[][Color] A basic vote line", vote.ToComparableString()); }
public void ToComparableString_Basic_Marker_Task() { VoteLine vote = new VoteLine("", "x", "Orb-us", "A basic vote line", MarkerType.Vote, 100); Assert.AreEqual("[][Orb-us] A basic vote line", vote.ToComparableString()); }
public void ToComparableString_Basic_Prefix_Task() { VoteLine vote = new VoteLine("-", "X", "Orbus?", "A basic vote line", MarkerType.Vote, 100); Assert.AreEqual("-[][Orbus?] A basic vote line", vote.ToComparableString()); }
public void ToComparableString_Box() { VoteLine vote = new VoteLine("-", "☒", "", "A basic vote line", MarkerType.Vote, 100); Assert.AreEqual("-[] A basic vote line", vote.ToComparableString()); }