public void OnAddItem_AddsItem() { var item = new TestBoardItem(Vector2Int.one); var boardRegistry = new BoardRegistry <TestBoardItem>(); boardRegistry.Add(item); Assert.That(boardRegistry.Exists(item)); }
public bool Exists(IActor actor) { return(_actors.Exists(actor)); }