User Guide
nmodl::test_utils::NmodlTestCase Struct Reference

represent nmodl test construct More...

Detailed Description

represent nmodl test construct

Definition at line 18 of file nmodl_constructs.hpp.

#include <nmodl_constructs.hpp>

Public Member Functions

 NmodlTestCase ()=delete
 
 NmodlTestCase (std::string name, std::string input)
 
 NmodlTestCase (std::string name, std::string input, std::string output)
 

Public Attributes

std::string name
 name of the test More...
 
std::string input
 input nmodl construct More...
 
std::string output
 expected nmodl output More...
 

Constructor & Destructor Documentation

◆ NmodlTestCase() [1/3]

nmodl::test_utils::NmodlTestCase::NmodlTestCase ( )
delete
Todo:
: add associated json (to use in visitor test)

◆ NmodlTestCase() [2/3]

nmodl::test_utils::NmodlTestCase::NmodlTestCase ( std::string  name,
std::string  input 
)
inline

Definition at line 32 of file nmodl_constructs.hpp.

◆ NmodlTestCase() [3/3]

nmodl::test_utils::NmodlTestCase::NmodlTestCase ( std::string  name,
std::string  input,
std::string  output 
)
inline

Definition at line 37 of file nmodl_constructs.hpp.

Member Data Documentation

◆ input

std::string nmodl::test_utils::NmodlTestCase::input

input nmodl construct

Definition at line 23 of file nmodl_constructs.hpp.

◆ name

std::string nmodl::test_utils::NmodlTestCase::name

name of the test

Definition at line 20 of file nmodl_constructs.hpp.

◆ output

std::string nmodl::test_utils::NmodlTestCase::output

expected nmodl output

Definition at line 26 of file nmodl_constructs.hpp.


The documentation for this struct was generated from the following file: