Livt packages
Livt.Base
Version 1.2.1
Foundational bit, array, string, conversion, formatting, and timing helpers for Livt hardware designs.
Published files (32)
tests/StringTest.lvt
namespace Livt.Base.Tests
/**
* Exercises String with a shared fixture instance. Each scenario establishes the inputs
* and state it needs.
*/
@Test
component StringTest
{
/**
* Checks the report with string literal case.
*/
@Test
fn ReportWithStringLiteral()
{
Simulation.Report("hello from string literal")
}
/**
* Checks the report with string variable case.
*/
@Test
fn ReportWithStringVariable()
{
var msg: string = "hello from string variable"
Simulation.Report(msg)
}
}