示例#1
0
        public void Kugis_ShouldGetTuris(double r, double h, double expected)
        {
            var kugis = new Kugis(r, h);

            var actual = kugis.getTuris();

            Assert.Equal(expected, actual);
        }
示例#2
0
 public void CreateStaciakampis_ShouldFail(int value, int b)
 {
     Assert.Throws <Exception>(new Action(
                                   () =>
     {
         var kugis = new Kugis(value, b);
     }
                                   ));
 }