dshould.contain

Members

Functions

all
void all(Should should, T expected, Fence _ = Fence(), string file = __FILE__, size_t line = __LINE__)

The phrase .contain.all takes a range, all elements of which are expected to appear in the range on the left hand side.

any
void any(Should should, T expected, Fence _ = Fence(), string file = __FILE__, size_t line = __LINE__)

The phrase .contain.any takes a range, at least one element of which is expected to appear in the range on the left hand side.

contain
void contain(Should should, T expected, Fence _ = Fence(), string file = __FILE__, size_t line = __LINE__)

The word .contain takes one value, expected to appear in the range on the left hand side.

only
void only(Should should, T expected, Fence _ = Fence(), string file = __FILE__, size_t line = __LINE__)

The phrase .contain.only or .only.contain takes a range, the elements of which are expected to be the only elements appearing in the range on the left hand side.

Meta