3 ms·
Common atleast has some tests posix4es-MacBook-Air-3:aerospike-common posix4e$ cloc src/main/ - 6603 posix4es-MacBook-Air-3:aerospike-common posix4e$ cloc src/t
by alexnewman 12y ago
Common atleast has some tests
posix4es-MacBook-Air-3:aerospike-common posix4e$ cloc src/main/ - 6603
posix4es-MacBook-Air-3:aerospike-common posix4e$ cloc src/test/ - 1247
I worry about test coverage stats like that
Not to mention if you look at the tests
/
* TEST CASES
/
TEST( msgpack_roundtrip_integer1, "roundtrip: 123" )
{
as_integer i1;
as_integer_init(&i1, 123);
as_integer i2;
as_integer_init(&i2, 456);
as_val * v2 = roundtrip((as_val *) &i1);
assert_val_eq(v2, &i1);
as_integer_destroy(&i1);
as_val_destroy(v2);
}
Not exactly terse and readable