示例#1
0
        public void CanGenerateBoolean()
        {
            var value = Fake.Create <bool>();

            Assert.False(value);
        }
示例#2
0
        public void CanGenerateString()
        {
            var value = Fake.Create <string>();

            Assert.Equal(string.Empty, value);
        }
示例#3
0
        public void CanGenerateFloat()
        {
            var value = Fake.Create <float>();

            Assert.Equal(0f, value);
        }
示例#4
0
        public void CanGenerateInt()
        {
            var value = Fake.Create <int>();

            Assert.Equal(0, value);
        }