MCPcopy Create free account
hub / github.com/bytedance/bolt / zeros

Function zeros

bolt/type/tests/DecimalTest.cpp:89–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89std::string zeros(uint32_t numZeros) {
90 return std::string(numZeros, '0');
91}
92
93TEST(DecimalTest, toString) {
94 EXPECT_EQ(std::to_string(HugeInt::build(0, 0)), "0");

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected