take2 は https://github.com/haru01/log/blob/master/pattern_sheed.md
TDDを 初心者が熟練者になって、現場で実践していくコツを書いていきます。 すべて実施する必要はありません。上から順に実施する必要もありません。 現状の診断や、自分の状況に合いそうなものを複数ピックアップして、 ベイビーステップで個人やチームの学習と成長の物語を描く道具として使われることを想定しています。
まだ未完です。ガンガン変わっていきます。 :p
import Html exposing (li, text, ul) | |
import String exposing (split) | |
add a b = | |
numberToRoman ((romanToNumber a) + (romanToNumber b)) | |
romanToNumber roman = | |
List.length(split "" roman) | |
{- case roman of | |
"I" -> 1 |
take2 は https://github.com/haru01/log/blob/master/pattern_sheed.md
TDDを 初心者が熟練者になって、現場で実践していくコツを書いていきます。 すべて実施する必要はありません。上から順に実施する必要もありません。 現状の診断や、自分の状況に合いそうなものを複数ピックアップして、 ベイビーステップで個人やチームの学習と成長の物語を描く道具として使われることを想定しています。
まだ未完です。ガンガン変わっていきます。 :p
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using NUnit.Framework; | |
using NUnit.Framework.Constraints; | |
namespace sudoku { | |
[TestFixture] | |
public class SudokuBoardTest |
# -*- coding: utf-8 -*- | |
from fractions import Fraction | |
import unittest | |
def fraction_from_repeating(period, base=10): | |
""" | |
Return a fraction equivalent to the given repeating decimal. |