public void TestDuckDuckGoSearchReturnsValues() { var engine = new Core.SearchEngine(); var result = engine.SearchOnDuckDuckGo("Java"); Assert.AreNotEqual(0, result, "No results"); }
public void TestDuckDuckGoSearchGreaterThanCero() { var engine = new Core.SearchEngine(); var result = engine.SearchOnDuckDuckGo("Java"); Assert.IsTrue(result > 0, "Result cannot be negative"); }