|
#if DEBUG
using System;
using NUnit.Framework;
using System.Diagnostics;
namespace Backtest.Test
{
///
/// <summary>Template for unit tests.</summary>
///
[TestFixture]
public class GeneralTest
{
bool pleaseFail = false;
[SetUp]
public void Init()
{
}
[TearDown]
public void Teardown()
{
}
[Test]
public void ICannotFail()
{
Assert.IsTrue(true);
}
[Test]
public void ICanFail()
{
Assert.IsFalse(pleaseFail);
}
}
}
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.