小编Dan*_*n A的帖子

如何将 .vpp 文件转换为 pdf 文件

我在 Visual Paradigm 中完成了类和序列图,文件保存为 .vpp 文件扩展名。是否有在线免费工具可以将视觉范例 .vpp 文件转换为 pdf?问候丹

uml

3
推荐指数
1
解决办法
1万
查看次数

如何使用[SetUp]方法来安排单元测试。参数怎么样?

public class CoffeeStrengthEstimator
{
    /// <summary>
    ///     Estimates the strength of the coffee (how many beans to use) depending on the button pressed
    /// </summary>
    /// <param name="buttonPressed"> The numeral position of the button pressed</param>
    /// <returns>An enum value indicating the estimated coffee strength</returns>
    public CoffeeStrength EstimateCoffeeStrength(int buttonPressed)
    {
        if (buttonPressed == 1)
        {
            return CoffeeStrength.Light;
        }
        else if (buttonPressed == 2)
        {
            return CoffeeStrength.Medium;
        }
        else if (buttonPressed == 3)
        {
            return CoffeeStrength.Strong;
        }
        else
        {
            throw new ArgumentException …
Run Code Online (Sandbox Code Playgroud)

c# unit-testing

-2
推荐指数
1
解决办法
2万
查看次数

标签 统计

c# ×1

uml ×1

unit-testing ×1