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