Timeline: fix next ZoomWindow_test failure
This commit is contained in:
parent
fa4fbe5225
commit
93de063ae5
2 changed files with 12 additions and 5 deletions
|
|
@ -29,7 +29,11 @@
|
|||
#include "lib/test/test-helper.hpp"
|
||||
#include "stage/model/zoom-window.hpp"
|
||||
#include "lib/format-cout.hpp"//////////////TODO
|
||||
|
||||
#define SHOW_TYPE(_TY_) \
|
||||
cout << "typeof( " << STRINGIFY(_TY_) << " )= " << lib::meta::typeStr<_TY_>() <<endl;
|
||||
#define SHOW_EXPR(_XX_) \
|
||||
cout << "#Probe# " << STRINGIFY(_XX_) << " ? = " << _XX_ <<endl;
|
||||
//////////////////////////////////////////////////////////////////////////////TODO
|
||||
|
||||
|
||||
namespace stage{
|
||||
|
|
@ -261,12 +265,13 @@ namespace test {
|
|||
|
||||
win.calibrateExtension(1280);
|
||||
CHECK (win.visible().duration() == TimeValue(1280));
|
||||
CHECK (win.visible().duration() == Duration{1280*MICRO_TICK});
|
||||
CHECK (win.px_per_sec() == ZOOM_MAX_RESOLUTION / 2);
|
||||
CHECK (win.pxWidth() == 1280);
|
||||
CHECK (win.overallSpan() == TimeSpan(_t(0), _t(64)));
|
||||
|
||||
win.nudgeMetric(-5);
|
||||
CHECK (win.visible().duration() == Duration{32 * FSecs(1280/Time::SCALE)});
|
||||
CHECK (win.visible().duration() == Duration{32 * 1280*MICRO_TICK});
|
||||
CHECK (win.px_per_sec() == ZOOM_MAX_RESOLUTION / 64);
|
||||
CHECK (win.pxWidth() == 1280);
|
||||
CHECK (win.overallSpan() == TimeSpan(_t(0), _t(64)));
|
||||
|
|
|
|||
|
|
@ -39377,10 +39377,12 @@
|
|||
<node COLOR="#338800" CREATED="1667517299247" ID="ID_1450395718" MODIFIED="1667960483442" TEXT="kleinstmögliches window ≙ 1 µ-Tick">
|
||||
<icon BUILTIN="button_ok"/>
|
||||
</node>
|
||||
<node BACKGROUND_COLOR="#fdfdcf" COLOR="#ff0000" CREATED="1667517317821" ID="ID_1713703867" MODIFIED="1667960499368" TEXT="weitest möglicher zoom-out ≙ Canvas-size">
|
||||
<icon BUILTIN="broken-line"/>
|
||||
<node COLOR="#338800" CREATED="1667517317821" ID="ID_1713703867" MODIFIED="1668110364974" TEXT="weitest möglicher zoom-out ≙ Canvas-size">
|
||||
<icon BUILTIN="button_ok"/>
|
||||
</node>
|
||||
<node BACKGROUND_COLOR="#eee5c3" COLOR="#990000" CREATED="1667517346296" ID="ID_1169099153" MODIFIED="1668110372098" TEXT="aber: kann Canvas per reverse-Zoom expandieren">
|
||||
<icon BUILTIN="flag-yellow"/>
|
||||
</node>
|
||||
<node CREATED="1667517346296" ID="ID_1169099153" MODIFIED="1667517356781" TEXT="aber: kann Canvas per reverse-Zoom expandieren"/>
|
||||
</node>
|
||||
</node>
|
||||
<node BACKGROUND_COLOR="#eee5c3" COLOR="#990000" CREATED="1667318726445" ID="ID_1535955412" MODIFIED="1667318747575" TEXT="visibleRange setzen">
|
||||
|
|
|
|||
Loading…
Reference in a new issue