Add and extend unit tests for: - Task manager (failed tasks, progress signals, multiple tasks) - Undo stack (multiple undo/redo, push-after-undo, clear, multi-command) - Config defaults and graphics backend string conversion - Node keyframe serialization and default state - Node value string round-trips and table operations - Node globals and project settings/serialization - Timeline coordinate, workarea, and marker commands - Color LUT processor and OCIO transform handling - Common utilities (range, file functions, Qt helpers, XML utils) - Render enums (loop mode, alpha association) - Shader resource availability - Module smoke tests for Tool and HumanStrings All tests pass including RenderWorkerFootage GPU worker tests after rebuilding the stale olive-render-worker binary.
11 lines
281 B
C++
11 lines
281 B
C++
#include <gtest/gtest.h>
|
|
|
|
#include "render/alphaassoc.h"
|
|
|
|
TEST(AlphaAssociated, ValuesAreDistinct)
|
|
{
|
|
EXPECT_NE(olive::kAlphaNone, olive::kAlphaUnassociated);
|
|
EXPECT_NE(olive::kAlphaNone, olive::kAlphaAssociated);
|
|
EXPECT_NE(olive::kAlphaUnassociated, olive::kAlphaAssociated);
|
|
}
|