import React, { Component } from 'react';
import './index.scss'
import {Switch, Route} from 'react-router-dom'
import Scores from './scores'
import Exam from './exam'


class AiTest extends Component {
  render() {
    const {match} = this.props
    return (
      <Switch>
        <Route path={`${match.path}/scores`}>
          <Scores/>
        </Route>
        <Route path={`${match.path}/exam`}>
          <Exam/>
        </Route>
      </Switch>
    );
  }
}

export default AiTest;