Skip to content

Instantly share code, notes, and snippets.

@kawakawa
Last active December 14, 2015 20:08
Show Gist options
  • Save kawakawa/5141532 to your computer and use it in GitHub Desktop.
Save kawakawa/5141532 to your computer and use it in GitHub Desktop.
Visual Studio2012 でNUnitをする際のデモ用ソース http://kawakawa2000.jugem.jp/?eid=38
using System;
using NUnit.Framework;
using FizzBuzz;
namespace FizzBuzzTest
{
[TestFixture]
public class UnitTest1
{
[Test]
public void _15の倍数になることを確認()
{
var target = new FizzBuzz.FizzBuzz();
var expected = "FizzBuzz";
var actual = target.Show(15);
Assert.AreEqual(expected, actual);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment