OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
コレクションのサイズに対するアサーションをAssert.Empty/Singleで行う (xUnit2013)
[opentween/open-tween.git]
/
OpenTween.Tests
/
IndexedSortedSetTest.cs
diff --git
a/OpenTween.Tests/IndexedSortedSetTest.cs
b/OpenTween.Tests/IndexedSortedSetTest.cs
index
b15a8c2
..
68f048c
100644
(file)
--- a/
OpenTween.Tests/IndexedSortedSetTest.cs
+++ b/
OpenTween.Tests/IndexedSortedSetTest.cs
@@
-102,10
+102,10
@@
namespace OpenTween
{
var set = new IndexedSortedSet<int>();
- Assert.E
qual(0, set.Coun
t);
+ Assert.E
mpty(se
t);
set.Add(1);
- Assert.
Equal(1, set.Coun
t);
+ Assert.
Single(se
t);
}
[Fact]