This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Needed to fetch data from Twitch API | |
require('isomorphic-fetch'); | |
require('dotenv').config(); | |
// Needed for GraphQL queries/mutations | |
const { GraphQLClient } = require('graphql-request'); | |
// Create an async-based version of setTimeout | |
const wait = ms => new Promise(resolve => setTimeout(resolve, ms)); | |
// Number of streamers to be processed in each batch | |
const batchSize = 100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package BST_A2; | |
import static org.junit.Assert.*; | |
import org.junit.Test; | |
public class BSTTest { | |
@Test | |
public void testFindMin() { |