ludic.jobs jobs_posted_count, ludic.steps steps_my_shares_into - a count and a kept list for what a party asks every tick
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
fc0f3d3790
commit
ae5df73e72
4 changed files with 21 additions and 0 deletions
|
|
@ -162,6 +162,8 @@ program JobsTest {
|
|||
jobs_morning(jobs_st)
|
||||
expect_eq(len(jobs_posted(jobs_st, BOARD_DAILY)), 3)
|
||||
expect_eq(len(jobs_posted(jobs_st, BOARD_ADA)), 2)
|
||||
expect_eq(jobs_posted_count(jobs_st, BOARD_DAILY), 3)
|
||||
expect_eq(jobs_posted_count(jobs_st, BOARD_ADA), 2)
|
||||
let a = jobs_post_need(jobs_st, BOARD_DAILY, 0) * 100 + jobs_post_need(jobs_st, BOARD_DAILY, 1) * 10 + jobs_post_need(jobs_st, BOARD_DAILY, 2)
|
||||
fresh(jobs_st, jobs_test_st)
|
||||
jobs_test_st.day = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue