Skip to content

Instantly share code, notes, and snippets.

View ozw-sei's full-sized avatar

Seijiro Ozawa ozw-sei

View GitHub Profile
function init() {
window.Store = {}
window.Store.pos = [
[1,1,1,1],
[1,1,1,1],
[1,1,1,1],
]
window.Store.rot = [
[1,1,1,1],
@ozw-sei
ozw-sei / cloudSettings
Last active November 18, 2021 08:32
うまく行った project/flyway.sbt のサンプル
{"lastUpload":"2021-11-18T08:32:51.467Z","extensionVersion":"v3.4.3"}
CoffeeScript はプログラミング言語のひとつである。コードはJavaScript のコードに変換される。
Ruby や Python、Haskell から影響を受けたシンタックスシュガーの導入により、JavaScript に比べ簡潔さと可読性を向上させたほか、配列内包 (Array comprehensions) やパターンマッチといった機能を追加している。
CoffeeScript により、パフォーマンスを下げることなく、より短いコードでプログラムを記述することができる (JavaScript に比べ 1/3 程度の行数が削減できる)。

テストケース洗い出し方

※機能要件のみ

#テストケースベースのテスト手法

#ホワイトボックステスト

プログラマがコードを確認して行う プログラムが論理的に正しいか解析するテスト

public interface IOption<T>:IEquatable<IOption<T>>, IEquatable<T>
{
bool IsDefined
{
get;
}
// Something Method
// ...
}
using UnityEngine;
using UnityEditor;
using NUnit.Framework;
public class JsonUtilTest {
[System.Serializable]
public class user_self{
public user data;
}
addSbtPlugin("org.flywaydb" % "flyway-sbt" % "4.0.3")
resolvers += "Flyway" at "http://flywaydb.org/repo"
[info] Resolving org.scala-sbt.ivy#ivy;2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc51ec93[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.flywaydb#flyway-sbt;4.0.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] org.flywaydb:flyway-sbt:4.0.1 (scalaVersion=2.10, sbtVersion=0.13)
[warn]
using System;
namespace LSD
{
public interface IEither<T1, T2>
{
U Use<U>(Func<T1, U> ofLeft, Func<T2, U> ofRight);
bool IsRight{
get;
}
ログインの関数。自分ならModelに実装できるように頑張る。
Modelに書く
```
function hogeAction(){
//ユーザ取得
$user = UserModel.get(‘なんか鍵’);
//ユーザModelがログインしてるかどうか判断する
if($user->isLogin()){