Skip to content

Homework 5 DrawerValidationTest.SetFromImage #65

Discussion options

You must be logged in to vote

sorry for the late reply, I just found out that I misunderstood the dimension parameter of pixelator::Drawer 's constructor, I thought we had to create a ftxui screen with width=dimension.y*2. When I just create the ftxui screen with the given argument without modifying, it passes the test. So while the actual output looks reasonable, maybe they have different implementations for the remaining space for the row internally. Sorry for the inconvenience haha.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@niosus
Comment options

@ianwong1999
Comment options

Answer selected by niosus
@niosus
Comment options

@niosus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants