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