예제 #1
0
 public void creating_an_instance_of_employee_should_initialize_foo2()
 {
     var product = new Product("Bean", 15.5m);
     product.Name.Should().Be("Bean");
 }
예제 #2
0
 private bool MatchProduct(Product p)
 {
     return p.Price > 10m;
 }
예제 #3
0
 public void creating_an_instance_of_employee_should_initialize_foo2()
 {
     var product = new Product("Bean", 15.5m);
     Assert.That(product.Name, Is.EqualTo("Bean"));
 }