mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
21 lines
604 B
C#
21 lines
604 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.IO;
|
|
|
|
namespace FrodeTest.Test
|
|
{
|
|
public class FileTest
|
|
{
|
|
public static void RunTest()
|
|
{
|
|
Console.WriteLine("Running FileTest");
|
|
Check.Text = "Exists";
|
|
Check.Validate(File.Exists("/0/Readme.txt"));
|
|
Check.Validate(File.Exists("/0/Alfa/Bravo/slide_puzzle.lua"));
|
|
Check.Validate(!File.Exists("/0/invalidfile.txt"));
|
|
Check.Validate(!File.Exists("/0/InvalidDir/dummy.txt"));
|
|
}
|
|
}
|
|
}
|