# deftest Define a single test case (usually inside a `defsuite`). ## Syntax
deftest "test name" { body }
## Examples
deftest "string upper" {
    assert eq [upper "hello"] "HELLO"
}

deftest "list operations" {
    set xs @{ 1 2 3 }
    assert eq [len $xs] 3
    assert eq [first $xs] 1
}
## See Also `defsuite`, `assert`