main
1// Copyright (c) 2012-2016 The go-diff authors. All rights reserved.
2// https://github.com/sergi/go-diff
3// See the included LICENSE file for license details.
4//
5// go-diff is a Go implementation of Google's Diff, Match, and Patch library
6// Original library is Copyright (c) 2006 Google Inc.
7// http://code.google.com/p/google-diff-match-patch/
8
9package diffmatchpatch
10
11func min(x, y int) int {
12 if x < y {
13 return x
14 }
15 return y
16}
17
18func max(x, y int) int {
19 if x > y {
20 return x
21 }
22 return y
23}