| Index: mojom/mojom_parser/utils/math_utils.go
|
| diff --git a/fusl/test/vector.cc b/mojom/mojom_parser/utils/math_utils.go
|
| similarity index 65%
|
| copy from fusl/test/vector.cc
|
| copy to mojom/mojom_parser/utils/math_utils.go
|
| index 77b04a305215b38c1acde7d693940283fbaefb0a..6ef74a4856942a9de57b10bcce3a342a33ed9334 100644
|
| --- a/fusl/test/vector.cc
|
| +++ b/mojom/mojom_parser/utils/math_utils.go
|
| @@ -2,8 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include <vector>
|
| +package utils
|
|
|
| -int main(int argc, char** argv) {
|
| - std::vector<int> xs(10);
|
| +func MaximumUint32(a, b uint32) uint32 {
|
| + if a > b {
|
| + return a
|
| + }
|
| + return b
|
| }
|
|
|