Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using NUnit.Framework;
- namespace nunitTests
- {
- [TestFixture]
- class Tests
- {
- [TestCase]
- public void AddTwoStringsTest()
- {
- String expected = "DogNuts";
- String actual = Program.AddTwoStrings("Dog", "Nuts");
- Assert.AreEqual(expected, actual);
- }
- }
- public static String AddTwoStrings(string one, string two)
- {
- return one + two;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement