Skip to content

Instantly share code, notes, and snippets.

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

What would you like to do?
using MattEland.Starship.Logic;
using MattEland.Starship.ProcessingService.Controllers;
using NUnit.Framework;
namespace Tests
public class Tests
public void Test1()
// Arrange
var controller = new GamesController();
// Act
var result = controller.NewGame();
// Assert
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.