DSA/algorithms/CSharp/test/Maths/AbundantTestUnit

16 lines
376 B
Plaintext
Raw Normal View History

2021-06-16 18:05:26 +00:00
using NUnit.Framework;
namespace Abundant.Test
{
[TestFixture]
public class Testcase
{
[TestCase(54, true)]
[TestCase(5, false)]
public void PassNumber_ShouldGetExpectedResult(int num,bool expected)
{
var result = Abundant.Number.Abundant.IsAbudant(num);
Assert.AreEqual(expected, result);
}
}
}