maze-project
Show / Hide Table of Contents

Class MazeWasmInteropWasmtimeTestFromBytes

This class contains the Wasmtime MazeWasmInterop.ConnectionType xUnit unit tests for the MazeWasmInterop class, where the interop is initialized using WebAssembly bytes passed to it in the constructor

Inheritance
object
MazeWasmInteropTestBase
MazeWasmInteropWasmtimeTestFromBytes
Inherited Members
MazeWasmInteropTestBase.NewMazeWasm_ReturnsNonZeroPointer()
MazeWasmInteropTestBase.MazeWasmIsEmpty_ShouldReturnTrueForNewMaze()
MazeWasmInteropTestBase.MazeWasmIsEmpty_ShouldReturnFalseForMazeWithSize()
MazeWasmInteropTestBase.MazeWasmGetRowCount_ShouldReturnCorrectNumberRows()
MazeWasmInteropTestBase.MazeWasmGetColCount_ShouldReturnCorrectNumberCols()
MazeWasmInteropTestBase.MazeWasmReset_ShouldSucceed()
MazeWasmInteropTestBase.MazeWasmClear_ShouldSucceed()
MazeWasmInteropTestBase.MazeWasmClear_ShouldFailForInvalidStartRow()
MazeWasmInteropTestBase.MazeWasmClear_ShouldFailForInvalidStartCol()
MazeWasmInteropTestBase.MazeWasmClear_ShouldFailForInvalidEndRow()
MazeWasmInteropTestBase.MazeWasmClear_ShouldFailForInvalidEndCol()
MazeWasmInteropTestBase.MazeWasmResize_ChangesRowAndColumnCounts()
MazeWasmInteropTestBase.MazeWasmInsertRows_SucceedsForValidStartRow()
MazeWasmInteropTestBase.MazeWasmInsertRows_FailsForInvalidStartRow()
MazeWasmInteropTestBase.MazeWasmDeleteRows_FailsForEmptyMaze()
MazeWasmInteropTestBase.MazeWasmDeleteRows_FailsForInvalidStartRow()
MazeWasmInteropTestBase.MazeWasmDeleteRows_FailsIfCountTooLarge()
MazeWasmInteropTestBase.MazeWasmDeleteRows_SucceedsForValidStartRow()
MazeWasmInteropTestBase.MazeWasmInsertCols_FailsForEmptyMaze()
MazeWasmInteropTestBase.MazeWasmInsertCols_FailsForInvalidStartCol()
MazeWasmInteropTestBase.MazeWasmInsertCols_SucceedsForValidStartCol()
MazeWasmInteropTestBase.MazeWasmDeleteCols_FailsForEmptyMaze()
MazeWasmInteropTestBase.MazeWasmDeleteCols_FailsForInvalidStartCol()
MazeWasmInteropTestBase.MazeWasmDeleteCols_FailsIfCountTooLarge()
MazeWasmInteropTestBase.MazeWasmDeleteCols_SucceedsForValidStartCol()
MazeWasmInteropTestBase.MazeWasmGetCellType_FailsForEmptyMaze()
MazeWasmInteropTestBase.MazeWasmGetCellType_FailsForInvalidRow()
MazeWasmInteropTestBase.MazeWasmGetCellType_FailsForInvalidCol()
MazeWasmInteropTestBase.MazeWasmGetCellType_SucceedsForValidCellLocation()
MazeWasmInteropTestBase.MazeWasmSetStartCell_FailsForInvalidRow()
MazeWasmInteropTestBase.MazeWasmSetStartCell_FailsForInvalidCol()
MazeWasmInteropTestBase.MazeWasmGetStartCell_FailsForEmptyMaze()
MazeWasmInteropTestBase.MazeWasmGetStartCell_FailsIfNotDefined()
MazeWasmInteropTestBase.MazeWasmGetStartCell_SucceedsIfDefined()
MazeWasmInteropTestBase.MazeWasmSetFinishCell_FailsForInvalidRow()
MazeWasmInteropTestBase.MazeWasmSetFinishCell_FailsForInvalidCol()
MazeWasmInteropTestBase.MazeWasmGetFinishCell_FailsForEmptyMaze()
MazeWasmInteropTestBase.MazeWasmGetFinishCell_FailsIfNotDefined()
MazeWasmInteropTestBase.MazeWasmGetFinishCell_SucceedsIfDefined()
MazeWasmInteropTestBase.MazeWasmSetWallCells_FailsForEmptyMaze()
MazeWasmInteropTestBase.MazeWasmSetWallCells_FailsForInvalidStartLocation()
MazeWasmInteropTestBase.MazeWasmSetWallCells_FailsForInvalidEndLocation()
MazeWasmInteropTestBase.MazeWasmSetWallCells_SucceedsForValidCellRange()
MazeWasmInteropTestBase.MazeWasmToJson_ShouldSucceed()
MazeWasmInteropTestBase.MazeWasmFromJson_ShouldFail()
MazeWasmInteropTestBase.MazeWasmFromJson_ShouldSucceed()
MazeWasmInteropTestBase.MazeWasmSolve_ShouldFailWithNoStartCell()
MazeWasmInteropTestBase.MazeWasmSolve_ShouldFailWithNoFinishCell()
MazeWasmInteropTestBase.MazeWasmSolve_ShouldSucceed()
MazeWasmInteropTestBase.MazeWasmSolutionGetPathPoints_ShouldSucceed()
MazeWasmInteropTestBase.MazeWasmGetSizedMemoryUsed_ShouldSucceedAndBeZero()
MazeWasmInteropTestBase.MazeWasmGetSizedMemoryUsed_ShouldBeNonZeroAfterAllocate()
MazeWasmInteropTestBase.MazeWasmGetSizedMemoryUsed_ShouldBeZeroAfterAllocateAndFree()
MazeWasmInteropTestBase.MazeWasmGetNumObjectsAllocated_ShouldSucceedAndBeNonZero()
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Maze.Wasm.Interop.Tests
Assembly: Maze.Wasm.Interop.Tests.dll
Syntax
public class MazeWasmInteropWasmtimeTestFromBytes : MazeWasmInteropTestBase

Constructors

MazeWasmInteropWasmtimeTestFromBytes()

Constructor for the Wasmtime MazeWasmInterop.ConnectionType xUnit unit tests, where the interop is initialized from WebAssembly bytes supplied by the caller

Declaration
public MazeWasmInteropWasmtimeTestFromBytes()

Methods

GetInterop()

Returns the MazeWasmInterop instance to be used for the tests

Declaration
protected override MazeWasmInterop GetInterop()
Returns
Type Description
MazeWasmInterop

MazeWasmInterop instance

Overrides
MazeWasmInteropTestBase.GetInterop()
In this article
Back to top Generated by DocFX