Skip to content

Commit

Permalink
Remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
codereport committed Jul 22, 2021
1 parent 3364f13 commit d155bce
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions cpp/tests/strings/fixed_point_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <cudf/fixed_point/fixed_point.hpp>
#include <cudf/strings/convert/convert_fixed_point.hpp>
#include <cudf/strings/convert/convert_floats.hpp>
#include <cudf/strings/strings_column_view.hpp>

#include <cudf_test/base_fixture.hpp>
Expand Down Expand Up @@ -218,19 +217,3 @@ TEST_F(StringsConvertTest, IsFixedPoint)
cudf::test::fixed_width_column_wrapper<bool>({true, true, true, false, false, false, false});
CUDF_TEST_EXPECT_COLUMNS_EQUIVALENT(*results, expected64_scaled);
}

TEST_F(StringsConvertTest, FloatFixedPoint)
{
using DecimalType = numeric::decimal64;

cudf::test::fixed_width_column_wrapper<double> floats(
{1.234E3, -876.0, 543.2, -0.12, .25, -2E-3, -.0027, 0.0});
auto strings_col = cudf::strings::from_floats(floats);

auto results = cudf::strings::to_fixed_point(
cudf::strings_column_view(strings_col->view()),
cudf::data_type{cudf::type_to_id<DecimalType>(), numeric::scale_type{-2}});

cudf::test::print(strings_col->view());
cudf::test::print(results->view());
}

0 comments on commit d155bce

Please sign in to comment.