This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
namespace ProjectForTests | |
{ | |
public class PriorityQueue<T> : IEnumerable<T> where T : IComparable<T> | |
{ | |
private readonly LinkedList<T> _items = new LinkedList<T>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Web.Mvc; | |
namespace TestMvc.Controllers | |
{ | |
public class HomeController : Controller | |
{ | |
public ActionResult Index() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact] | |
public void EntityWithArrayCanBeFlattened() | |
{ | |
var root = new Parent | |
{ | |
Childrens = new[] { new Children { Name = "Łukasz" } } | |
}; | |
var flattened = TableEntity.Flatten(root, new OperationContext()); | |
} |
OlderNewer