public void ShuffleTest() { Carddeck carddeck = new Carddeck(); Assert.False(carddeck.Shuffle().SequenceEqual(carddeck.Shuffle())); }
public async Task <ActionResult <APIReturnObject> > addDeck([FromBody] Carddeck deck) { return(await Task.FromResult(_returnObjectBridge.mapToAPIReturnObjectFrom(_informationservice.create(deck.Id, deck.Name, deck.GenreId)))); }
public CarddeckEntity mapToCarddeckEntityFrom(Carddeck deck) { return(new CarddeckEntity(deck.Id, deck.Name, deck.GenreId)); }