public void Kugis_ShouldGetTuris(double r, double h, double expected) { var kugis = new Kugis(r, h); var actual = kugis.getTuris(); Assert.Equal(expected, actual); }
public void CreateStaciakampis_ShouldFail(int value, int b) { Assert.Throws <Exception>(new Action( () => { var kugis = new Kugis(value, b); } )); }