MCPcopy Create free account
hub / github.com/ceph/ceph / TEST

Function TEST

src/test/erasure-code/TestErasureCodeExample.cc:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using namespace std;
27
28TEST(ErasureCodeExample, chunk_size)
29{
30 ErasureCodeExample example;
31 EXPECT_EQ(3u, example.get_chunk_count());
32 EXPECT_EQ(11u, example.get_chunk_size(20));
33}
34
35TEST(ErasureCodeExample, minimum_to_decode)
36{

Callers

nothing calls this directly

Calls 15

stringifyFunction · 0.85
set_lengthMethod · 0.80
set_type_nameMethod · 0.80
add_bucketMethod · 0.80
set_item_nameMethod · 0.80
insert_itemMethod · 0.80
shard_id_tClass · 0.50
get_chunk_countMethod · 0.45
get_chunk_sizeMethod · 0.45
insertMethod · 0.45
_minimum_to_decodeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected