#include "src/tint/lang/core/fluent_types.h"
#include "src/tint/lang/msl/writer/helper_test.h"
#include "src/tint/utils/text/string_stream.h"
usingnamespacetint::core::number_suffixes;
usingnamespacetint::core::fluent_types;
namespace tint::msl::writer {
namespace {
struct BinaryData { … };
inline std::ostream& operator<<(std::ostream& out, BinaryData data) { … }
MslWriterBinaryTest;
TEST_P(MslWriterBinaryTest, Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(MslWriterTest, BinaryDivU32) { … }
TEST_F(MslWriterTest, BinaryModU32) { … }
TEST_F(MslWriterTest, BinaryShiftLeft) { … }
TEST_F(MslWriterTest, BinaryShiftRight) { … }
MslWriterBinaryBoolTest;
TEST_P(MslWriterBinaryBoolTest, Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
MslWriterBinaryTest_SignedOverflowDefinedBehaviour;
TEST_P(MslWriterBinaryTest_SignedOverflowDefinedBehaviour, DISABLED_Emit) { … }
constexpr BinaryData signed_overflow_defined_behaviour_cases[] = …;
INSTANTIATE_TEST_SUITE_P(…);
MslWriterBinaryTest_ShiftSignedOverflowDefinedBehaviour;
TEST_P(MslWriterBinaryTest_ShiftSignedOverflowDefinedBehaviour, DISABLED_Emit) { … }
constexpr BinaryData shift_signed_overflow_defined_behaviour_cases[] = …;
INSTANTIATE_TEST_SUITE_P(…);
MslWriterBinaryTest_SignedOverflowDefinedBehaviour_Chained;
TEST_P(MslWriterBinaryTest_SignedOverflowDefinedBehaviour_Chained, DISABLED_Emit) { … }
constexpr BinaryData signed_overflow_defined_behaviour_chained_cases[] = …;
INSTANTIATE_TEST_SUITE_P(…);
MslWriterBinaryTest_ShiftSignedOverflowDefinedBehaviour_Chained;
TEST_P(MslWriterBinaryTest_ShiftSignedOverflowDefinedBehaviour_Chained, DISABLED_Emit) { … }
constexpr BinaryData shift_signed_overflow_defined_behaviour_chained_cases[] = …;
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(MslWriterTest, DISABLED_BinaryModF32) { … }
TEST_F(MslWriterTest, DISABLED_BinaryModF16) { … }
TEST_F(MslWriterTest, DISABLED_BinaryModVec3F32) { … }
TEST_F(MslWriterTest, DISABLED_BinaryModVec3F16) { … }
}
}