コード例 #1
0
ファイル: DefaultTests.cs プロジェクト: standardfx/standard
        public void DefaultStructTest()
        {
            Foo f  = new Foo(32);
            Foo f2 = default(Foo);

            SAssert.NotDefault(f);
            XAssert.Throws <ArgumentException>(() => SAssert.NotDefault(f2));
        }