Blender V4.3
integrator_render_scheduler_test.cpp
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#include "testing/testing.h"
6
8
10
17
18TEST(IntegratorRenderScheduler, calculate_resolution_for_divider)
19{
20 EXPECT_EQ(calculate_resolution_for_divider(1920, 1080, 1), 1440);
23}
24
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
#define CCL_NAMESPACE_END
CCL_NAMESPACE_BEGIN TEST(IntegratorRenderScheduler, calculate_resolution_divider_for_resolution)
int calculate_resolution_divider_for_resolution(int width, int height, int resolution)
int calculate_resolution_for_divider(int width, int height, int resolution_divider)