Beispiel #1
0
        public void FileStructureEFileTest()
        {
            const EFile expected = EFile.FileG;
            var         f        = new F(expected);
            var         actual   = f.Value;

            Assert.Equal(expected, actual);

            f      = expected;
            actual = f.Value;
            Assert.Equal(expected, actual);
        }
Beispiel #2
0
        public void FileStructureIntTest()
        {
            const int   val      = 3;
            const EFile expected = (EFile)val;
            var         f        = new F(val);
            var         actual   = f.Value;

            Assert.Equal(expected, actual);

            f      = val;
            actual = f.Value;
            Assert.Equal(expected, actual);
        }