It is clear by now that a `Scale` will act as a refinement of a full-domain value type. However, in order to develop the definition and builder notation for parameters, a much more detailed understanding of scales is necessary -- including the question where to draw a line between the complex structured `ParamSet` and a simple `Parameter` that is conceived to be number-value-like.
87 lines
1.7 KiB
C++
87 lines
1.7 KiB
C++
/*
|
||
NomSet(Test) - verify nominal and ordinal scale enumerations
|
||
|
||
Copyright (C)
|
||
2026, Hermann Vosseler <Ichthyostega@web.de>
|
||
|
||
**Lumiera** is free software; you can redistribute it and/or modify it
|
||
under the terms of the GNU General Public License as published by the
|
||
Free Software Foundation; either version 2 of the License, or (at your
|
||
option) any later version. See the file COPYING for further details.
|
||
|
||
* *****************************************************************/
|
||
|
||
/** @file nom-set-test.cpp
|
||
** unit test \ref NomSet_test
|
||
*/
|
||
|
||
|
||
#include "test/run.hpp"
|
||
//#include "test/test-helper.hpp"
|
||
#include "lib/par/nom-set.hpp"
|
||
#include "test/diagnostic-output.hpp"/////////////TODO
|
||
|
||
//#include <utility>
|
||
//#include <string>
|
||
//#include <vector>
|
||
|
||
//using std::string;
|
||
//using std::vector;
|
||
//using std::swap;
|
||
|
||
|
||
namespace lib {
|
||
namespace par {
|
||
namespace test{
|
||
|
||
// using lumiera::error::LUMIERA_ERROR_LOGIC;
|
||
|
||
namespace {//Test fixture....
|
||
|
||
}//(End)Test fixture
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
/********************************************************************************//**
|
||
* @test document the definition of domain enumerations for nominal / ordinal scales.
|
||
*/
|
||
class NomSet_test : public Test
|
||
{
|
||
|
||
virtual void
|
||
run (Arg)
|
||
{
|
||
simpleUsage();
|
||
verify_typeMarker();
|
||
}
|
||
|
||
|
||
void
|
||
simpleUsage()
|
||
{
|
||
UNIMPLEMENTED ("nebbich");
|
||
}
|
||
|
||
|
||
/** @test
|
||
* @todo WIP 9/26 🔁 define ⟶ implement
|
||
*/
|
||
void
|
||
verify_typeMarker()
|
||
{
|
||
}
|
||
};
|
||
|
||
|
||
/** Register this test class... */
|
||
LAUNCHER (NomSet_test, "unit lib");
|
||
|
||
|
||
|
||
}}} // namespace lib::par::test
|