コード例 #1
0
        public void Merge_S1Wrong_ArgumentNullException()
        {
            string s1 = null;
            string s0 = "RED=120";

            FrameParser.Merge(s0, s1);
        }
コード例 #2
0
        public void Merge_S1Empty_EncodedFrame()
        {
            string s0 = "RED=120";
            string s1 = "";

            string merged = FrameParser.Merge(s0, s1);

            Assert.AreEqual(s0, merged);
        }
コード例 #3
0
        public void Merge_RightParameters_MergedFrame()
        {
            string s0 = "BLUE=210";
            string s1 = "RED=120";

            string merged = FrameParser.Merge(s0, s1);

            Assert.AreEqual("BLUE=210;RED=120", merged);
        }