コード例 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @BeforeAll static void setUp() throws java.io.IOException
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        internal static void SetUp()
        {
            _fixture = PrepareDirectoryAndPageCache(typeof(NumberArrayTest));
            _random.reset();
        }
コード例 #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @BeforeEach void setupRandomConfig()
        internal virtual void SetupRandomConfig()
        {
            _random = _random.withConfiguration(new ConfigurationAnonymousInnerClass(this));
            _random.reset();
        }