예제 #1
0
        public void ReturnsSameValueForSameSetOfActivities()
        {
            var converter  = new ActivitiesConverter();
            var activities = converter.Convert("TB", null);

            var same = converter.Convert("TB", null);

            Assert.Same(activities, same);

            var different = converter.Convert("TB-D", null);

            Assert.NotSame(activities, different);
        }
예제 #2
0
        public void SplitActivities(string input)
        {
            var converter  = new ActivitiesConverter();
            var activities = converter.Convert(input, null);

            Assert.Equal(input, activities.Value);
        }