public void Primitives()
{
var target = new B();
var builder = new ToStringBuilder<B>()
.Include(b => b.Byte)
.Include(b => b.SByte)
.Include(b => b.Char)
.Include(b => b.Short)
.Include(b => b.UShort)
.Include(b => b.Int)
.Include(b => b.UInt)
.Include(b => b.Long)
.Include(b => b.ULong)
.Include(b => b.Float)
.Include(b => b.Double)
.Include(b => b.Decimal)
.Compile();
var result = builder.Stringify(target);
Assert.That(result, Is.EqualTo("B{" +
"Byte:1," +
"SByte:1," +
"Char:'c'," +
"Short:1," +
"UShort:1," +
"Int:1," +
"UInt:1," +
"Long:1," +
"ULong:1," +
"Float:1.1," +
"Double:1.1," +
"Decimal:1.1" +
"}"));
}