MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / test_sat_sub

Function test_sat_sub

thread/test/test.cpp:886–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

884}
885
886__attribute__((noinline))
887void test_sat_sub()
888{
889 auto c = sat_sub(1, 2);
890 DevNull(&c, sizeof(c));
891}
892
893TEST(saturated, sub)
894{

Callers 1

TESTFunction · 0.85

Calls 2

DevNullFunction · 0.70
sat_subFunction · 0.50

Tested by

no test coverage detected