test: 修复陈旧 golden 与恢复 Step1 Ignore
golden_互换结清后待实现归零.json 的 RealizedPnl 0->8.219(f4ffe710 修复后未重录,8.219为正确值); SwapReEodDeleteManualCashRecordTest.Step1 恢复 [Ignore](与类头契约一致,避免污染入库 golden)。
This commit is contained in:
@@ -247,7 +247,7 @@ namespace YLErp.Modules.SwapModule
|
||||
/// </summary>
|
||||
[TestMethod]
|
||||
[TestCategory("DBRecording")]
|
||||
// [Ignore] // 有写文件副作用,手动跑时取消注释
|
||||
[Ignore] // 写文件副作用 + 依赖测试库样本(trade 1903),手动跑时取消注释;不进 CI(见类头注释)
|
||||
public void Step1_RecordAndDiagnoseDeleteBug()
|
||||
{
|
||||
int tradeId = SampleTradeId;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"TdCloseInterest": 8.21917808219,
|
||||
"TdInterestPrincipal": 10000.0,
|
||||
"RealizedInterest": 8.21917808219,
|
||||
"RealizedPnl": 0.0,
|
||||
"RealizedPnl": 8.21917808219,
|
||||
"SwapPositionValue": 0.821917808219178082191780822,
|
||||
"InterestFeeSum": 0.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user