public void InitThrowsTest(double a, double b) { Assert.Throws <ArgumentOutOfRangeException>(() => builder.BuildRectangleBySides(a, b)); }