Пример #1
0
func TestLinearHashtableCast(t *testing.T) {
	hash := hashtable.NewLinearHash()
	_ = types.Sized(hash)
	_ = types.MapIterable(hash)
	_ = types.MapOperable(hash)
	_ = types.Map(hash)
}
Пример #2
0
func TestHashtableCast(t *testing.T) {
	hash := hashtable.NewHashTable(16)
	_ = types.Sized(hash)
	_ = types.MapIterable(hash)
	_ = types.MapOperable(hash)
	_ = types.Map(hash)
}