Skip to content

Instantly share code, notes, and snippets.

@IntegerMan IntegerMan/Tests.cs
Created Sep 17, 2019

Embed
What would you like to do?
using MattEland.Starship.Logic;
using MattEland.Starship.ProcessingService.Controllers;
using NUnit.Framework;
namespace Tests
{
public class Tests
{
[Test]
public void Test1()
{
// Arrange
var controller = new GamesController();
// Act
var result = controller.NewGame();
// Assert
Assert.IsNotNull(result);
GameState state = (GameState) result.Value;
Assert.AreEqual(2, state.Id);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.