mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-19 19:13:04 +00:00
parent
44cdb37b03
commit
4784b63eeb
1 changed files with 6 additions and 0 deletions
|
@ -65,9 +65,15 @@ func doTestCompare(t *testing.T, tp tstCompareType, funcUnderTest func(a, b inte
|
|||
{5, 8, -1},
|
||||
{8, 5, 1},
|
||||
{5, 5, 0},
|
||||
{int(5), int64(5), 0},
|
||||
{int32(5), int(5), 0},
|
||||
{int16(4), int(5), -1},
|
||||
{uint(15), uint64(15), 0},
|
||||
{-2, 1, -1},
|
||||
{2, -5, 1},
|
||||
{0.0, 1.23, -1},
|
||||
{1.1, 1.1, 0},
|
||||
{float32(1.0), float64(1.0), 0},
|
||||
{1.23, 0.0, 1},
|
||||
{"5", "5", 0},
|
||||
{"8", "5", 1},
|
||||
|
|
Loading…
Reference in a new issue