public void TestRuntime() { Stream liveStream = File.OpenRead(LIVEDUMP); IAuthKey authKey = new F1.Simulator.AuthorizationKey(DECRYPT_KEY); IKeyFrame keyFrame = new F1.Simulator.KeyFrame(KEYFRAMEPATH); Runtime r = new Runtime(liveStream, authKey, keyFrame, new NullMessageDispatcher()) { Driver = new NullDriver() }; while (r.HandleRead()) { } }
public void TestRuntime() { Stream liveStream = File.OpenRead(LIVEDUMP); IAuthKey authKey = new F1.Simulator.AuthorizationKey(DECRYPT_KEY); IKeyFrame keyFrame = new F1.Simulator.KeyFrame(KEYFRAMEPATH); Runtime r = new Runtime(liveStream, authKey, keyFrame, new NullMessageDispatcher()) { Driver = new NullDriver() }; while(r.HandleRead()) { } }
public void TestSimGetAuthKey() { var authKey = new F1.Simulator.AuthorizationKey("..\\..\\..\\Session Keys.txt"); DoTests(authKey); }