ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_output_mat_sparse.cpp File Reference

Unit test for output_mat_sparse.h: MatSparseOutputOptions defaults. More...

#include <gtest/gtest.h>
#include "source_io/module_hs/output_mat_sparse.h"
Include dependency graph for test_output_mat_sparse.cpp:

Functions

 TEST (OutputMatSparse, OptionsKeepLegacyDefaults)

Detailed Description

Unit test for output_mat_sparse.h: MatSparseOutputOptions defaults.

The struct is the single source of truth for the sparse-matrix output switches; the test pins the legacy default values so an accidental default change is caught at compile-and-run time instead of silently changing output files.

Function Documentation

◆ TEST()

TEST ( OutputMatSparse ,
OptionsKeepLegacyDefaults  )