我想解决一个实验,但我不知道发生了什么事情。我必须做的是,我必须从目录中导入一些文件名(.mp3's),然后使用文件名制作一些对象。我仍然坚持从目录中获取文件名。测试要求我 “规范化文件名只是MP3文件名不带路径” 测试如下: it 'normalizes the filename to just the mp3 filename with no path' do
test_music_
我正在通过unit testing the handle_{call,cast,info} callbacks测试GenServer。我的一个文档测试 S的如下: @doc """
Call the GenServer to retrieve the initial workout
## Examples
我开始学习TDD。我刚刚从python开始进行单元测试。当我尝试执行: [email protected]:~/pruebaTestPython$ python test_python_daily_software.py
----------------------------------------------------------------------
Ran 0 tests in
更新完整的解决方案: 的WebAPI控制器的方法,我要测试: using Microsoft.AspNet.Identity;
using System.Web.Http;
[Authorize]
public class GigsController : ApiController
{
private readonly IUnitOfWork _unitOfWork;
我有我的班级玩家和我的班级游戏的红宝石代码,我正在打网球卡塔。 class Player
def score
if @player_one.points <3 and @player_two.points<3
"#{@player_one.score} #{@player_two.score}"
elsif @player_one.points == @p