cast_test.cpp