예제 #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>);