You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
358 B
Rust
17 lines
358 B
Rust
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
//
|
|
// Copyright (c) 2019-2022 Andre Richter <andre.o.richter@gmail.com>
|
|
|
|
//! Types for the `custom_test_frameworks` implementation.
|
|
|
|
#![no_std]
|
|
|
|
/// Unit test container.
|
|
pub struct UnitTest {
|
|
/// Name of the test.
|
|
pub name: &'static str,
|
|
|
|
/// Function pointer to the test.
|
|
pub test_func: fn(),
|
|
}
|