Home | History | Annotate | Download | only in utility
      1 // Copyright 2014 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
      6 #define MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
      7 
      8 #include <string>
      9 #include <vector>
     10 
     11 namespace media {
     12 namespace cast {
     13 namespace test {
     14 
     15 class MeanAndError {
     16  public:
     17   MeanAndError() {}
     18   explicit MeanAndError(const std::vector<double>& values);
     19   std::string AsString() const;
     20 
     21   size_t num_values;
     22   double mean;
     23   double std_dev;
     24 };
     25 
     26 }  // namespace test
     27 }  // namespace cast
     28 }  // namespace media
     29 
     30 #endif  // MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
     31