public void Euler1_Test() { Euler1 e1 = new Euler1(); int result = e1.FindNaturalNumbers(); Assert.That(result, Is.EqualTo(233168)); }
private string Euler1() { Euler1 e1 = new Euler1(); return(e1.FindNaturalNumbers().ToString()); }