[ Identification | Description | Examples | Input parameters | Links ]

The Test_lib_read_table Instrument

Unit test of common/lib/share/read_table-lib (Table_Value, Table_Value2d, Table_Rebin, Table_Read) on tables built in memory. Covers the bracket search for constant-step and monotonic tables, both increasing and decreasing, the 1-row vector case of Table_Value2d, and that Table_Read of a missing file leaves an empty table. Also checks that Table_Read_Handle and Table_Free leave no heap block behind for a file with comment and '***' lines. The Arm absorbs every particle if any check failed, so the PSD intensity is Ncount on success and 0 on failure.

Identification

Description

Tests: mccode-dev/McCode#1968, #2565, #3016, #3017, #3099

Examples

(Test cases in bold)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
Ncount1Number of particles1000

Links


[ Identification | Description | Examples | Input parameters | Links ]

Generated for mcstas 3.5