(t *testing.T)
| 159 | } |
| 160 | |
| 161 | func Test_AtomicAggregateAttribute(t *testing.T) { |
| 162 | assert := assert.New(t) |
| 163 | |
| 164 | input := &api.AtomicAggregateAttribute{} |
| 165 | |
| 166 | a := &api.Attribute{Attr: &api.Attribute_AtomicAggregate{AtomicAggregate: input}} |
| 167 | n, err := UnmarshalAttribute(a) |
| 168 | assert.NoError(err) |
| 169 | |
| 170 | output, _ := NewAtomicAggregateAttributeFromNative(n.(*bgp.PathAttributeAtomicAggregate)) |
| 171 | // AtomicAggregateAttribute has no value |
| 172 | assert.NotNil(output) |
| 173 | } |
| 174 | |
| 175 | func Test_AggregatorAttribute(t *testing.T) { |
| 176 | assert := assert.New(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…