Skip to content

Commit 270f0a1

Browse files
committed
chore: remove junk tests
Signed-off-by: Krishna Pandey <[email protected]>
1 parent 27da1ff commit 270f0a1

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

libc/test/src/math/expbf16_test.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,6 @@ TEST_F(LlvmLibcExpBf16Test, PositiveRange) {
3131
EXPECT_MPFR_MATCH_ALL_ROUNDING(mpfr::Operation::Exp, x,
3232
LIBC_NAMESPACE::expbf16(x), 0.5);
3333
}
34-
35-
auto test_value = [&](uint16_t v) {
36-
bfloat16 x = FPBits(v).get_val();
37-
EXPECT_MPFR_MATCH_ALL_ROUNDING(mpfr::Operation::Exp, x,
38-
LIBC_NAMESPACE::expbf16(x), 0.5);
39-
};
40-
41-
auto test_value_f = [&](float v) {
42-
bfloat16 x(v);
43-
EXPECT_MPFR_MATCH_ALL_ROUNDING(mpfr::Operation::Exp, x,
44-
LIBC_NAMESPACE::expbf16(x), 0.5);
45-
};
46-
47-
test_value(0xc2c8);
48-
test_value(0xc2ba);
49-
50-
test_value_f(17.45f);
5134
}
5235

5336
TEST_F(LlvmLibcExpBf16Test, NegativeRange) {

0 commit comments

Comments
 (0)