示例#1
0
        public void GenerateHighlightInfoTest()
        {
            var deepLearner = new NeuralNetController();

            highlightInfo = deepLearner.GetHighlightPeriod(matchCollection[0], true);

            // Assert highlightInfo correct.
            Assert.True(highlightInfo.Score > 0.75);
            Assert.True(highlightInfo.StartOffset > 7400);
            Assert.True(File.Exists(TestHelper.tensorflowDataPath + "Predictions\\" + matchCollection[0].Match.BroadcastId + "match1_prediction.csv"));
        }