Skip to main content

Module wasm

Module wasm 

Source
Expand description

WASM module - always available for testing (Mock DOM allows testing without actual browser bindings) WASM Frontend for Calculator

This module provides the WebAssembly bindings for the calculator, demonstrating 100% test coverage across platform boundaries.

Probar: Balanced testing - Balanced testing across TUI and WASM

Structs§

DomElement
Represents a DOM element for testing
KeypadButtonDef
A single keypad button definition
MockDom
Mock DOM for testing WASM calculator without browser
WasmCalculator
WASM Calculator - browser-ready calculator
WasmDriver
WASM Driver wrapping calculator and mock DOM
WasmKeypad
WASM Keypad layout definition Layout:

Enums§

DomEvent
DOM events that can be dispatched
KeypadAction
Actions that keypad buttons can perform (shared with TUI)

Traits§

MockDomKeypadExt
Extension trait for MockDom to add keypad