95fdb59ea6
Former-commit-id: b39a328747c2f3414dc52e009fb6f0aa80ca2492
22 lines
499 B
C#
22 lines
499 B
C#
using NUnit.Framework;
|
|
using System;
|
|
namespace DocStat.Tests
|
|
{
|
|
[TestFixture]
|
|
public class CommandUtilsTests
|
|
{
|
|
[Test]
|
|
public void CSVStringWith2()
|
|
{
|
|
Assert.AreEqual(@"""{0}"",""{1}""", CommandUtils.CSVFormatString(2));
|
|
}
|
|
|
|
[Test]
|
|
public void CSVStringWithIndexArray()
|
|
{
|
|
Assert.AreEqual(@"""{1}"",""{0}""",
|
|
CommandUtils.CSVFormatString(2, new int[] { 1, 0 }));
|
|
}
|
|
}
|
|
}
|