示例#1
0
 [Test] public void CreateWithSerializable(
     [Values(true, false)] bool safe)
 {
     o(Dish <U> .Create(new U(), safe) is PolyDish <U>);
 }
示例#2
0
 [Test] public void CreateSafeDishWithClonable()
 => o(Dish <T> .Create(clonable, safe: true) is PolyDish <T>);
示例#3
0
 [Test] public void CreateUnsafeDishWithClonable()
 => o(Dish <T> .Create(clonable, safe: false) is DirtyDish <T>);