Empty() public method

public Empty ( ) : bool
return bool
Esempio n. 1
0
    public void Sets_with_no_elements_are_empty()
    {
        var sut = new CustomSet();

        Assert.True(sut.Empty());
    }
Esempio n. 2
0
    public void Sets_with_elements_are_not_empty()
    {
        var sut = new CustomSet(new[] { 1 });

        Assert.False(sut.Empty());
    }