当我使用fitSharp运行我的FItnesse测试时,我在capexAmounts列中的每个值附近都收到“No converter for System.Double []”错误消息。 但结果将被正确地解析和处理为双倍 - DoesDepreciatedAmountsEqualToSpecifiedOnes方法
我做错了什么? 请帮忙
这是我的表:
| Run depreciation with different tangible setup |
| tangible | tangiblePercent | capexAmounts | does depreciated amounts equal to specified ones? |
| tan | 0 | [8, 5, 3.2, 1.6, 0.8] | [0, 0, 0, 0, 0] |
这是我的代码:
public class RunDepreciationWithDifferentTangibleSetup
{
public string Tangible { get; set; }
public double TangiblePercent { get; set; }
public double[] CapexAmounts { get; set; }
public double[] DoesDepreciatedAmountsEqualToSpecifiedOnes()
{
return someArray;
} }