예제 #1
0
		public void GetNumberOfPaintingsOnPageTest()
		{
			var api = new MetApi();
			
			api.GetRandomPage();

			Assert.IsTrue(api.GetPaintingsOnPage() > 0);
		}
예제 #2
0
		public void GetRandomPageTest()
		{
			var api = new MetApi();
			
			api.GetRandomPage();

			Assert.IsTrue(api.GetHtml().IndexOf("search-results-container") > 0);
		}