forked from TrueCloudLab/frostfs-sdk-go
[#227] netmap: Fix minor blots in documentation/code
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
ca523f1ff1
commit
d648b86776
10 changed files with 46 additions and 45 deletions
|
@ -254,15 +254,15 @@ func TestSelector_SetName(t *testing.T) {
|
|||
require.Equal(t, name, s.m.GetName())
|
||||
}
|
||||
|
||||
func TestSelector_SetNodeAmount(t *testing.T) {
|
||||
const amount = 3
|
||||
func TestSelector_SetNumberOfNodes(t *testing.T) {
|
||||
const num = 3
|
||||
var s Selector
|
||||
|
||||
require.Zero(t, s.m.GetCount())
|
||||
|
||||
s.SetNodeAmount(amount)
|
||||
s.SetNumberOfNodes(num)
|
||||
|
||||
require.EqualValues(t, amount, s.m.GetCount())
|
||||
require.EqualValues(t, num, s.m.GetCount())
|
||||
}
|
||||
|
||||
func TestSelectorClauses(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue