forked from go/golangs_learn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
697 B
65 lines
697 B
package final_common
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// 新建集合对象
|
|
func TestNewSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 删除元素
|
|
func TestRemoveSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 判断元素是否存在
|
|
func TestHasSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 元素个数
|
|
func TestCountSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 清空集合
|
|
func TestClearSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 空集合判断
|
|
func TestEmptySet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 无序列表
|
|
func TestListSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 排序列表
|
|
func TestSortListSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 并集
|
|
func TestUnionSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 差集
|
|
func TestMinusSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 交集
|
|
func TestIntersectSet(t *testing.T) {
|
|
|
|
}
|
|
|
|
// 补集
|
|
func TestComplementSet(t *testing.T) {
|
|
|
|
}
|
|
|