types: Add a test for value_cast
types: Add a test for value_cast

We had no tests on when value_cast throws or when it moves the value.

Signed-off-by: Rafael Ávila de Espíndola <1975039f9046bf513b77c0c5639a0efc25f00e7f@scylladb.com>
Message-Id: <20191120181213.111758-2-1975039f9046bf513b77c0c5639a0efc25f00e7f@scylladb.com>

scylladb/scylla,scylladb/scylla,scylladb/scylla,avikivity/scylla,scylladb/scylla,avikivity/scylla,avikivity/scylla