clone_test.go
raw| 1 | // Copyright 2023 Huan Du. All rights reserved. |
| 2 | // Licensed under the MIT license that can be found in the LICENSE file. |
| 3 | |
| 4 | package clone |
| 5 | |
| 6 | import "testing" |
| 7 | |
| 8 | func TestCloneAll(t *testing.T) { |
| 9 | for name, fn := range testFuncMap { |
| 10 | t.Run(name, func(t *testing.T) { |
| 11 | fn(t, defaultAllocator) |
| 12 | }) |
| 13 | } |
| 14 | } |