File size: 605 Bytes
18a519f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | using NUnit.Framework;
using UnityEditor.Performance.ProfileAnalyzer;
using System.Collections.Generic;
public class UnitsTestFixture
{
internal DisplayUnits displayUnits;
public struct TestData
{
public readonly float value;
public readonly string expectedOutput;
public TestData(float value, string expectedOutput)
{
this.value = value;
this.expectedOutput = expectedOutput;
}
public override string ToString()
{
return string.Format("{0} becomes {1}", value, expectedOutput);
}
}
}
|