Example #1
0
        public void Should_implicitly_convert_from_string()
        {
            var path = ".\\test";

            BuildItem item = path;

            item.ToString().ShouldBe(".\\test");
        }
Example #2
0
        public void Should_combine_with_a_string(string first, string second, string combined)
        {
            var result = new BuildItem(first) + second;

            result.ToString().ShouldBe(combined);
        }
Example #3
0
        public void Should_combine_with_another_build_item(string first, string second, string combined)
        {
            var result = new BuildItem(first) + new BuildItem(second);

            result.ToString().ShouldBe(combined);
        }