1 // Copyright (c) 2022 Google LLC. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #ifndef TEST_DIFF_DIFF_TEST_UTILS_H_ 16 #define TEST_DIFF_DIFF_TEST_UTILS_H_ 17 18 #include "source/diff/diff.h" 19 20 namespace spvtools { 21 namespace diff { 22 23 void DoStringDiffTest(const std::string& src_spirv, 24 const std::string& dst_spirv, 25 const std::string& expected_diff, Options options); 26 27 } // namespace diff 28 } // namespace spvtools 29 30 #endif // TEST_DIFF_DIFF_TEST_UTILS_H_ 31