main
1using Machine.Specifications;
2using presentation.windows.server.domain.payroll;
3
4namespace unit.server.domain.payroll
5{
6 public class MoneySpecs
7 {
8 [Subject(typeof (Money))]
9 public class when_two_monies_are_the_same
10 {
11 Establish c = () =>
12 {
13 sut = 100.00;
14 };
15
16 It should_be_equal = () =>
17 {
18 sut.Equals(100.00);
19 };
20
21 static Money sut;
22 }
23 }
24}