public async Task TestMethodInitCardFavorite1() { IndexViewModel unindex = new IndexViewModel(); await unindex.InitAsync(); Assert.IsNotNull(await unindex.InitCardFavorite()); }
public async Task <ActionResult> Index() { var context = new IndexViewModel(); await context.InitAsync(); return(View(context)); }
public async Task TestMethodInitCardFavorite1_1() { IndexViewModel unindex = new IndexViewModel(); await unindex.InitAsync(); Assert.IsInstanceOfType(await unindex.InitCardFavorite(), typeof(CardElement)); }
public async Task TestMethodInitCardFavorite1_2_1_1() { IndexViewModel unindex = new IndexViewModel(); await unindex.InitAsync(); CardElement card = await unindex.InitCardFavorite(); Assert.IsNotNull(card.Title); }
public async Task TestMethodInitCardLike1_2_3_2() { IndexViewModel unindex = new IndexViewModel(); await unindex.InitAsync(); CardElement card = await unindex.InitCardLike(); Assert.IsInstanceOfType(card.GraphResult, typeof(GraphPie)); }
public async Task TestMethodInitCardLike1_2_3_1() { IndexViewModel unindex = new IndexViewModel(); await unindex.InitAsync(); CardElement card = await unindex.InitCardLike(); Assert.IsNotNull(card.GraphResult); }
public async Task TestMethodInitCardLike1_2_2_2() { IndexViewModel unindex = new IndexViewModel(); await unindex.InitAsync(); CardElement card = await unindex.InitCardLike(); Assert.IsInstanceOfType(card.NumberResult, typeof(List <FieldElement>)); }
public async Task TestMethodInitCardLike1_2_1_2() { IndexViewModel unindex = new IndexViewModel(); await unindex.InitAsync(); CardElement card = await unindex.InitCardLike(); Assert.IsInstanceOfType(card.Title, typeof(string)); }
public async Task TestMethodInitCardClient1_2_2_1() { IndexViewModel unindex = new IndexViewModel(); await unindex.InitAsync(); CardElement card = await unindex.InitCardClient(); Assert.IsNotNull(card.NumberResult); }