Skip to content

Add enum for Inspect 0x09 payload#18

Merged
tolauwae merged 2 commits intomainfrom
feat/inspect
Feb 1, 2026
Merged

Add enum for Inspect 0x09 payload#18
tolauwae merged 2 commits intomainfrom
feat/inspect

Conversation

@tolauwae
Copy link
Member

@tolauwae tolauwae commented Aug 26, 2024

Allows testing the reversal of primitives. Example program:

const reverse = framework.suite('Test Reverse interface');
reverse.testee('emulator[:8530]', new EmulatorSpecification(8530));

reverse.test({
    title: 'Test snapshot',
    program: 'test/blink.wast',
    steps: [{
        title: 'Test IO snapshot',
        instruction: {kind: Kind.Request, value: Message.inspect([Inspect.io])},
        expected: [{
            'io': {
                kind: 'comparison', value: (state: State) => state.io?.length === 0
            }
        }],
    },
        new Invoker('read', [WASM.i32(15)], WASM.i32(0)),
        new Invoker('write', [WASM.i32(15), WASM.i32(1)], undefined),
        new Invoker('read', [WASM.i32(15)], WASM.i32(1))
    ]
})

@tolauwae tolauwae added the feature Minor new feature or request label Aug 26, 2024
@tolauwae tolauwae self-assigned this Aug 27, 2024
@tolauwae tolauwae marked this pull request as ready for review September 27, 2024 15:07
@tolauwae tolauwae force-pushed the main branch 21 times, most recently from 8184c10 to 1d07d67 Compare December 3, 2024 17:16
@tolauwae tolauwae added feature Minor new feature or request and removed feature Minor new feature or request labels Jan 19, 2025
@tolauwae tolauwae force-pushed the main branch 3 times, most recently from f9658a7 to 2715cd1 Compare November 13, 2025 22:10
@tolauwae tolauwae force-pushed the main branch 3 times, most recently from a1b00a8 to 7e11b3b Compare December 16, 2025 13:13
@tolauwae tolauwae merged commit 6fc2a05 into main Feb 1, 2026
6 checks passed
@tolauwae tolauwae deleted the feat/inspect branch February 1, 2026 15:23
@github-project-automation github-project-automation bot moved this from Under Review to Done in WARDuino Roadmap Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Minor new feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant