STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
anonymous_namespace{test_lc_tare.cpp} Namespace Reference

Functions

std::string scratch (const char *name)
 A unique scratch path per test — hermetic, no committed fixtures, parallel-safe.
std::string read_text (const std::string &path)
LcTareStore::Evaluator linear (double kg_per_count)
 A linear adc->kg curve, standing in for select_lc_kg.
void recompute_carries_tare_across_a_better_fit ()
void untrusted_curves_keep_the_last_good_offset ()
void non_finite_offset_is_never_recorded ()
void entity_matches_the_publish_path ()
void loaded_tare_is_corrected_by_recompute ()
void fingerprint_tracks_what_the_curve_does ()
void stale_audit_finds_a_missed_recompute ()
void save_load_round_trip ()
void unreadable_file_is_not_overwritten ()

Function Documentation

◆ entity_matches_the_publish_path()

void anonymous_namespace{test_lc_tare.cpp}::entity_matches_the_publish_path ( )

Definition at line 155 of file test_lc_tare.cpp.

References CHECK, and lc_tare_entity().

Referenced by main().

◆ fingerprint_tracks_what_the_curve_does()

◆ linear()

◆ loaded_tare_is_corrected_by_recompute()

◆ non_finite_offset_is_never_recorded()

◆ read_text()

std::string anonymous_namespace{test_lc_tare.cpp}::read_text ( const std::string & path)

Definition at line 58 of file test_lc_tare.cpp.

Referenced by unreadable_file_is_not_overwritten().

◆ recompute_carries_tare_across_a_better_fit()

void anonymous_namespace{test_lc_tare.cpp}::recompute_carries_tare_across_a_better_fit ( )

◆ save_load_round_trip()

◆ scratch()

std::string anonymous_namespace{test_lc_tare.cpp}::scratch ( const char * name)

A unique scratch path per test — hermetic, no committed fixtures, parallel-safe.

Definition at line 50 of file test_lc_tare.cpp.

References p.

◆ stale_audit_finds_a_missed_recompute()

void anonymous_namespace{test_lc_tare.cpp}::stale_audit_finds_a_missed_recompute ( )

◆ unreadable_file_is_not_overwritten()

void anonymous_namespace{test_lc_tare.cpp}::unreadable_file_is_not_overwritten ( )

◆ untrusted_curves_keep_the_last_good_offset()