Port the practice pager test behind recording widget doubles, wire the new behaviour tests into the Makefile and delete the C tests they replace. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
12 lines
263 B
Ziran
12 lines
263 B
Ziran
// Test double for the Kryon text widget: records the last props drawn.
|
|
#import "text_props"
|
|
#import "session"
|
|
|
|
fake_text_count: s32;
|
|
fake_text_last: TextProps;
|
|
|
|
Text :: (session: Session, props: TextProps) {
|
|
fake_text_last = props
|
|
fake_text_count += 1
|
|
}
|