The branches that were merged, DJ_ICE and DJ_ICE_ladder_price_aggregation, both added new tick tests. The former put them in a new file, "TickTests.cs," while the latter added them to "SecurityTests.cs." This commit places all tick tests in "TickTests.cs."
14 lines
411 B
C#
14 lines
411 B
C#
using bts.api;
|
|
using bts.resources;
|
|
using bts.utils.proto;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace bts.tests.security {
|
|
static class SecurityTestHelper {
|
|
public static IEnumerable<SecurityImmutable> read_securities(string file_path) =>
|
|
StreamHelper.ReadProtos<Security>(ResourceHelper.LoadResource(file_path))
|
|
.Select(s => new SecurityImmutable(s));
|
|
}
|
|
}
|