Skip to content

Commit

Permalink
use a more reasonable test window size
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Dec 30, 2024
1 parent 687fa5d commit 380a138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/basics_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ TEST_F(PolyscopeTest, EmptyBuffer) {
TEST_F(PolyscopeTest, WindowProperties) {

// set/get window size
polyscope::view::setWindowSize(300, 1000);
polyscope::view::setWindowSize(300, 400);
int32_t w, h;
std::tie(w, h) = polyscope::view::getWindowSize();
EXPECT_EQ(w, 300);
EXPECT_EQ(h, 1000);
EXPECT_EQ(h, 400);

// get buffer size
// (hard to say what this should be, given hi-dpi etc)
Expand Down

0 comments on commit 380a138

Please sign in to comment.