message: Finish lite/micro/kernels/cast.cc and its test code functionally, may need formatting
diff: @@ -42,7 +42,8 @@ void TestCastFloatToInt8(const int* input_dims_data, const float* input_data,
  int outputs_array_data[] = {1, 1};
  TfLiteIntArray* outputs_array = IntArrayFromInts(outputs_array_data);
  - const TfLiteRegistration registration = ops::micro::Register_CAST();
  + //const TfLiteRegistration registration = ops::micro::Register_CAST();
  + const TfLiteRegistration registration = Register_CAST();
  micro::KernelRunner runner(registration, tensors, tensors_size, inputs_array,
  outputs_array,
  /*builtin_data=*/nullptr, micro_test::reporter);
  @@ -73,7 +74,7 @@ void TestCastInt8ToFloat(const int* input_dims_data, const int8_t* input_data,
  int outputs_array_data[] = {1, 1};
  TfLiteIntArray* outputs_array = IntArrayFromInts(outputs_array_data);
  - const TfLiteRegistration registration = ops::micro::Register_CAST();
  + const TfLiteRegistration registration = Register_CAST();
  micro::KernelRunner runner(registration, tensors, tensors_size, inputs_array,
  outputs_array,
  /*builtin_data=*/nullptr, micro_test::reporter);
  @@ -93,7 +94,7 @@ void TestCastInt8ToFloat(const int* input_dims_data, const int8_t* input_data,
  TF_LITE_MICRO_TESTS_BEGIN
  TF_LITE_MICRO_TEST(CastFloatToInt8) {
  - float output_data[6];
  + int8_t output_data[6];
  const int input_dims[] = {1, 3, 2};
  const float input_values[] = {100.f, 1.0f, 0.f, 0.4f, 1.999f, 1.1f};
  const int8_t golden[] = {100, 1, 0, 0, 1, 1};
  @@ -103,8 +104,8 @@ TF_LITE_MICRO_TEST(CastFloatToInt8) {
  TF_LITE_MICRO_TEST(CastInt8ToFloat) {
  float output_data[6];
  const int input_dims[] = {1, 3, 2};
  - const float input_values[] = {123, 0, 1, 2, 3, 4};
  - const int8_t golden[] = {123.f, 0.f, 1.f, 2.f, 3.f, 4.f};
  + const int8_t input_values[] = {123, 0, 1, 2, 3, 4};
  + const float golden[] = {123.f, 0.f, 1.f, 2.f, 3.f, 4.f};
  tflite::testing::TestCastInt8ToFloat(input_dims, input_values, golden, output_data);
  }
  