Esempio n. 1
0
        public void TestSize()
        {
            FileAction fileAction = new FileAction(
                new VersionProperty(fileDetails),
                new SizeProperty(fileDetails),
                new DataGenerator()
                );

            var randomVersion = fileAction.GetRandomSize();
            var size          = fileAction.PerformAction(randomVersion, "C:/file.txt");

            Assert.IsFalse(size.Contains("."));
        }