public void ToString_ZeroYearsZeroMonthsTenDays_ReturnsValidString() { Sentence s = new Sentence(); s.SetSentance(0,0,10); string str = s.ToString(); Assert.AreEqual("Fängelse 10 DAGAR", str, "error!"); }
public void ToString_ZeroYearsSixMonthsZeroDays_ReturnsValidString() { Sentence s = new Sentence(); s.SetSentance(0,6,0); string str = s.ToString(); Assert.AreEqual("Fängelse 6 MÅN", str, "error!"); }
public Planning() { m_kSentence = null; m_bCustody = false; }
public void SetSentence_0_0_0_ThrowsException() { Sentence s = new Sentence(); s.SetSentance(0,0,0); }