Adjusted samples

* using QTextStream
* some new samples
This commit is contained in:
Klaus Basan
2015-01-23 02:01:44 +01:00
parent 9910e9adb1
commit 4bd9f987ce
5 changed files with 116 additions and 86 deletions

View File

@@ -1,27 +1,31 @@
/* Copyright (C) 2013 VATSIM Community / authors
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Copyright (C) 2015
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKMISCTEST_SAMPLESPHYSICALQUANTITIES_H
#define BLACKMISCTEST_SAMPLESPHYSICALQUANTITIES_H
#include "blackmisc/pqconstants.h"
#include <QDebug>
#include <QTextStream>
namespace BlackMiscTest {
/*!
* \brief Samples for physical quantities
*/
class CSamplesPhysicalQuantities
namespace BlackMiscTest
{
public:
/*!
* \brief Run the samples
*/
static int samples();
};
//! Samples for physical quantities
class CSamplesPhysicalQuantities
{
public:
//! Run the samples
static int samples(QTextStream &out);
};
}
#endif // guard