Blender V5.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 <gtest/gtest.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
#define CCL_NAMESPACE_END
#define TEST(a, b)
#define EXPECT_EQ(result, expect)
int calculate_resolution_divider_for_resolution(int width, int height, const int resolution)
int calculate_resolution_for_divider(const int width, const int height, const int resolution_divider)