Esempio n. 1
0
 public void Setup()
 {
     _1Dm = new Decimeter(1);
     _2Dm = new Decimeter(2);
     _10Dm = new Decimeter(10);
     _11Dm = new Decimeter(11);
     _1M = new Meter(1);
 }
Esempio n. 2
0
 public void should_equal_11_centimeters_given_1_centimeter_and_1_decimeter()
 {
     var _1Dm = new Decimeter(1);
     var _11Cm = new Centimeter(11);
     (_1Cm + _1Dm).should_be(_11Cm);
 }
Esempio n. 3
0
 public void should_1_decimeter_equals_10_centimeter()
 {
     var _1DM = new Decimeter(1);
     var _10CM = new Centimeter(10);
     _1DM.should_be(_10CM);
 }