Exemple #1
0
 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!");
 }
Exemple #2
0
 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!");
 }
Exemple #3
0
 public Planning()
 {
     m_kSentence = null;
     m_bCustody = false;
 }
Exemple #4
0
 public void SetSentence_0_0_0_ThrowsException()
 {
     Sentence s = new Sentence();
     s.SetSentance(0,0,0);
 }
Exemple #5
0
 public Planning()
 {
     m_kSentence = null;
     m_bCustody  = false;
 }