carputils
Doxygen code documentation for the python framework controlling openCARP
Functions | Variables
carputils.tests.carpio.test_igb Namespace Reference

Functions

def test_roundtrip_float_preserves_values_and_shape (tmp_path)
 
def test_default_layout_is_time_major_disk_order (tmp_path)
 
def test_write_rejects_a_time_major_array_flagged_traces_by_time (tmp_path)
 
def test_write_rejects_read_output_without_flag (tmp_path)
 
def test_write_rejects_a_column_without_t (tmp_path)
 
def test_write_rejects_a_size_not_divisible_by_t (tmp_path, size, nt)
 
def test_vector_rows_are_written_as_node_records (tmp_path, header)
 
def test_roundtrip_derives_time_vector_without_dim_t (tmp_path)
 
def test_roundtrip_int_preserves_dtype (tmp_path)
 
def test_read_recovers_truncated_scalar_file (tmp_path)
 
def test_read_recovers_truncated_vec3f_file (tmp_path)
 
def test_read_concat_write_roundtrip (tmp_path)
 
def test_vector_components_are_innermost_on_disk (name, ntraces, dpn)
 
def test_vector_write_reproduces_the_reference_bytes (tmp_path, name, ntraces, dpn)
 
def test_header_coerces_field_types (tmp_path)
 

Variables

 RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')
 

Function Documentation

◆ test_default_layout_is_time_major_disk_order()

def carputils.tests.carpio.test_igb.test_default_layout_is_time_major_disk_order (   tmp_path)

◆ test_header_coerces_field_types()

def carputils.tests.carpio.test_igb.test_header_coerces_field_types (   tmp_path)

◆ test_read_concat_write_roundtrip()

def carputils.tests.carpio.test_igb.test_read_concat_write_roundtrip (   tmp_path)

◆ test_read_recovers_truncated_scalar_file()

def carputils.tests.carpio.test_igb.test_read_recovers_truncated_scalar_file (   tmp_path)

◆ test_read_recovers_truncated_vec3f_file()

def carputils.tests.carpio.test_igb.test_read_recovers_truncated_vec3f_file (   tmp_path)

◆ test_roundtrip_derives_time_vector_without_dim_t()

def carputils.tests.carpio.test_igb.test_roundtrip_derives_time_vector_without_dim_t (   tmp_path)

◆ test_roundtrip_float_preserves_values_and_shape()

def carputils.tests.carpio.test_igb.test_roundtrip_float_preserves_values_and_shape (   tmp_path)

◆ test_roundtrip_int_preserves_dtype()

def carputils.tests.carpio.test_igb.test_roundtrip_int_preserves_dtype (   tmp_path)

◆ test_vector_components_are_innermost_on_disk()

def carputils.tests.carpio.test_igb.test_vector_components_are_innermost_on_disk (   name,
  ntraces,
  dpn 
)

◆ test_vector_rows_are_written_as_node_records()

def carputils.tests.carpio.test_igb.test_vector_rows_are_written_as_node_records (   tmp_path,
  header 
)

◆ test_vector_write_reproduces_the_reference_bytes()

def carputils.tests.carpio.test_igb.test_vector_write_reproduces_the_reference_bytes (   tmp_path,
  name,
  ntraces,
  dpn 
)

◆ test_write_rejects_a_column_without_t()

def carputils.tests.carpio.test_igb.test_write_rejects_a_column_without_t (   tmp_path)

◆ test_write_rejects_a_size_not_divisible_by_t()

def carputils.tests.carpio.test_igb.test_write_rejects_a_size_not_divisible_by_t (   tmp_path,
  size,
  nt 
)

◆ test_write_rejects_a_time_major_array_flagged_traces_by_time()

def carputils.tests.carpio.test_igb.test_write_rejects_a_time_major_array_flagged_traces_by_time (   tmp_path)

◆ test_write_rejects_read_output_without_flag()

def carputils.tests.carpio.test_igb.test_write_rejects_read_output_without_flag (   tmp_path)

Variable Documentation

◆ RESOURCES

carputils.tests.carpio.test_igb.RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')