#include "remoting/host/x11_crtc_resizer.h"
#include "inttypes.h"
#include <string>
#include "base/strings/stringprintf.h"
#include "testing/gtest/include/gtest/gtest.h"
Crtc;
Mode;
namespace {
std::string PrettyPrint(const gfx::Rect& rect) { … }
void ExpectEqual(const gfx::Rect& rect1, const gfx::Rect& rect2) { … }
}
namespace remoting {
TEST(X11CrtcResizerTest, ShiftToMakeRoomHorizontally) { … }
TEST(X11CrtcResizerTest, ShiftToMakeRoomVertically) { … }
TEST(X11CrtcResizerTest, HorizontalLayoutPreferred) { … }
TEST(X11CrtcResizerTest, RightAlignmentKept) { … }
TEST(X11CrtcResizerTest, BottomAlignmentKept) { … }
TEST(X11CrtcResizerTest, MiddleAlignmentKept) { … }
}