This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using FluentAssertions; | |
using Xbehave; | |
using Xunit; | |
public class AccountsFeature | |
{ | |
private Account account; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IntervalFeature | |
{ | |
[Scenario] | |
public void ComparisonUsingLinq() | |
{ | |
var result = | |
from left in "Given an interval".Of(Interval.WholeStep) | |
from right in "And a smaller interval".Of(Interval.HalfStep) | |
select "When comparing the intervals".Do(left.CompareTo(right)); |