Пример #1
0
 public void GetsDeltasAfterTick(int simulationAge, int tick)
 {
     _simulationView.Simulation = new Simulation {
         Ticks = simulationAge
     };
     _deltaApplier.GetForTick(new ObjectId(), tick);
     _deltaRepository
     .Verify(x => x.GetForSimulation(It.IsAny <ObjectId>(), tick, simulationAge), Times.Once);
 }
Пример #2
0
 public SimulationView GetAtTick(ObjectId simulationId, int tick) =>
 _deltaApplier.GetForTick(simulationId, tick);